diff options
Diffstat (limited to 'src/net/java/games/jogl/impl/macosx')
-rw-r--r-- | src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java index d0ea429a4..cde1d54b1 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java @@ -161,11 +161,11 @@ public abstract class MacOSXGLContext extends GLContextImpl if (!CGL.deleteContext(nsContext, 0)) { throw new GLException("Unable to delete OpenGL context"); } - nsContext = 0; - GLContextShareSet.contextDestroyed(this); if (DEBUG) { System.err.println("!!! Destroyed OpenGL context " + nsContext); } + nsContext = 0; + GLContextShareSet.contextDestroyed(this); } } |