aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-13 13:47:30 +0200
committerSven Gothel <[email protected]>2011-10-13 13:47:30 +0200
commit3fd89ccc138eddb915372cff4843f69f764048a7 (patch)
treee56ee402ffbec00220e4bead29b39a73b467f48e /src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java
parent5d33b0a3ef993ff2d257c90abc3d84bc93269cd0 (diff)
MacOSX: Always release ctx on main thread (offscreen was frozen as well); Cleanup Warnings and OSX ContextUpdater
-
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java
index efc70e3dd..267578680 100644
--- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java
+++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java
@@ -343,9 +343,6 @@ public class MacOSXPbufferCGLContext extends MacOSXCGLContext {
if (CGL.CGLDestroyContext(ctx) != CGL.kCGLNoError) {
throw new GLException("Unable to delete OpenGL context (cgl)");
}
- if (DEBUG) {
- System.err.println("!!! Destroyed OpenGL context (cgl)" + contextHandle);
- }
}
public boolean makeCurrent(long ctx) {