Re: can not create CLGLObject (random)
Posted by The.Scotsman on Aug 01, 2012; 11:05pm
URL: https://forum.jogamp.org/can-not-create-CLGLObject-random-tp4025227p4025725.html
I was a little premature with the workaround - it still throws that exception from time to time.
In addition, it throws another exception (GLException: XXX) on every program exit (via GLContextImpl.destroy)
Removed the "workaround", and replaced canvas.display() with:
GLRunnable glr = new GLRunnable() {
public boolean run(GLAutoDrawable d) {
return false;
}
};
canvas.invoke(false, glr);
The code looks "better", but the problem persists.
I will try Sven's fix when it's available via a new release (building one is a little outside my mandate).
But I should mention that I'm on Win7 x64 ATI.