Login  Register

Re: Error Making Context Current JOGL 2.0 rc9

Posted by Moa on Aug 04, 2012; 1:25am
URL: https://forum.jogamp.org/Error-Making-Context-Current-JOGL-2-0-rc9-tp4025517p4025752.html

I have this same issue with jogl 2.0 rc9 and jogl 2.0 pre-rc10. I have code that can switch between GLCanvas and GLJPanel (I don't use NEWT) and see it on both of these.

The message doesn't appear for me when display() is called, since the callback implementation is my code I can ensure that th GLContext is on the current thread. The message appears when paintComponent() is called by the system, so we don't get a chance to ensure the GLContext is current. I think fixing that case would remove the exception being thrown.

I see this same message on:
  * Windows 7 64-bit with a ATI Radeon 5970, Catalyst 12.6
  * Ubuntu 12.04 64-bit with a ATI Radeon 5970, fglrx
  * Mac OS X 10.8 (Mountain Lion), NVidia 9600M GT