Login  Register

Re: use JOGL in a Swing application

Posted by gouessej on Nov 08, 2016; 10:08am
URL: https://forum.jogamp.org/use-JOGL-in-a-Swing-application-tp4037393p4037395.html

Hi

Do you use a GLEventListener? Please avoid making the OpenGL context current on several threads, call your JOGL code directly or indirectly in GLEventListener.display() or use GLAutoDrawable.invoke().
Julien Gouesse | Personal blog | Website