Login  Register

Re: windowClosing causes GLCanvas to displose

Posted by gouessej on Sep 02, 2010; 11:55am
URL: https://forum.jogamp.org/windowClosing-causes-GLCanvas-to-displose-tp1380491p1405793.html

Why do we have to remove our GL/JOGL resources before the native underlying window
has been closed? Sorry for my silly question.

disableDestroyOnClosing(boolean v) should rather be called setAutoDestroyOnClosingEnabled(boolean enabled) in my humble opinion, it would be more consistent.
Julien Gouesse | Personal blog | Website