diff options
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLContextImpl.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLContextImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLContextImpl.java b/src/jogl/classes/jogamp/opengl/GLContextImpl.java index 5bf0b53a2..acdde4e2c 100644 --- a/src/jogl/classes/jogamp/opengl/GLContextImpl.java +++ b/src/jogl/classes/jogamp/opengl/GLContextImpl.java @@ -273,11 +273,11 @@ public abstract class GLContextImpl extends GLContext { throw new GLException("Surface not ready to lock: "+drawable); } try { - destroyImpl(); if (DEBUG) { System.err.println("GLContextImpl.destroy: " + toHexString(contextHandle) + ", isShared "+GLContextShareSet.isShared(this)); } + destroyImpl(); contextHandle = 0; glDebugHandler = null; // this maybe impl. in a platform specific way to release remaining shared ctx. |