Login  Register

Re: OpenGL error 1282 at GLContext.release()

Posted by ac on Feb 15, 2012; 1:36am
URL: https://forum.jogamp.org/OpenGL-error-1282-at-GLContext-release-tp3742304p3745685.html

I was not able to create a small application that reproduces this issue, perhaps is the result of how the gl context and threads are initialized in Processing. Simple jogl apps running on the same system, like the gears example, don't show the opengl error. The system specs are:

Windows 7 professional, SP1
NVidia geforce GTX 570 with driver version 285.62

I enabled debugging and the output is here: http://pastebin.com/GSk0YJn2

The OpenGL error 1282 (which I get with glGetError) appears between the lines

"ExtensionAvailabilityCache: getGLExtensions() called"

and

"setRealized: jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable true == true"

I see a couple of exceptions being thrown a bit earlier. Removing the context.release() call at the end of my rendering loop makes the OpenGL error disappear, but the debug output seems identical (http://pastebin.com/qikRUmzq).