Re: JOGL OpenGL ES error in NetBeans
Posted by
gouessej on
Oct 26, 2015; 8:33pm
URL: https://forum.jogamp.org/JOGL-OpenGL-ES-error-in-NetBeans-tp4035582p4035603.html
You don't have to delete the texture identifier at the end of the program as JOGL will do it for you but you can delete it at runtime by calling glDeleteTextures in a method in which the OpenGL context is current, for example in GLEventListener.display() or in GLEventListener.dispose().