Error in RenderImageJme?

It seems two code lines miss in RenderImageJme constructor

[java] public RenderImageJme(Texture2D texture){

this.texture = texture;

this.image = texture.getImage();



//add these two lines

width = image.getWidth();

height = image.getHeight();



if (this.image == null)

throw new NullPointerException("texture.getImage() cannot be null");

}[/java]



this give problems when you try to change dynamically images

Thanks, it is fixed