jPCT - a 3d engine for Java > Support
ERROR: Texture '--*--BlittingWrapper_internal--*--' not found!
EgonOlsen:
Are you doing the dispose in another thread then?
AGP:
Same thread as the gameloop and just before Frame.dispose().
EgonOlsen:
I don't see how this can happen if everything happens in the same thread. Where does the actual rendering happen then?
AGP:
--- Code: --- private void loop() {
....
buffer.clear(java.awt.Color.black);
theWorld.renderScene(buffer);
theWorld.draw(buffer);
buffer.displayGLOnly();
canvas.repaint();
Thread.yield();
}
buffer.dispose();//CAUSES THE PROBLEM
this.dispose();
buffer.disableRenderer(IRenderer.RENDERER_OPENGL);
System.exit(0);
--- End code ---
EgonOlsen:
Try to disable the renderer before disposing it.
Navigation
[0] Message Index
[*] Previous page
Go to full version