1
Support / TextureManager.flush()
« on: July 16, 2008, 06:19:58 pm »
Why is it, that I get a NullPointerException when rendering and having flushed the texture manager beforehand. I even add new textures to the texture manager after calling TextureManager.flush(), but when I call world.renderScene(...) I get a NullPointerException which originates at "com.threed.jpct.Object3D.render(Unknown Source)". Things work fine, when I don't flush the texture manager...unfortunately I would soon run out of memory when not being able to flush the useless textures out.
Did I get something wrong with TextureManager.flush() ?
Did I get something wrong with TextureManager.flush() ?