Re: JOGL Crash on Windows 7 with Nvidia
Posted by
gouessej on
Sep 05, 2012; 8:40am
URL: https://forum.jogamp.org/JOGL-Crash-on-Windows-7-with-Nvidia-tp4025859p4026023.html
Texture.destroy() only calls glDeleteTextures as you can see here:
https://github.com/sgothel/jogl/blob/master/src/jogl/classes/com/jogamp/opengl/util/texture/Texture.javaPlease can you copy your test case into a proper bug report? I'm very busy but I will try to reproduce it at home. I assume you reproduced it on several machines. Be very accurate on the description of their hardware, the graphics cards, the version numbers of the drivers, etc...
Lots of drivers use deferring and I really think it is a bad idea to expect from the driver to immediately destroy a texture during the display, especially under Windows.
Edit.: On a few drivers, calling glDeleteTextures on a texture that has never been rendered causes a crash. @Sven, is there a way of detecting this case?