diff options
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11/glx')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java index 26ad41fc7..935650137 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java @@ -449,17 +449,7 @@ public abstract class X11GLXContext extends GLContextImpl { } protected void destroyImpl() throws GLException { - long display = drawable.getNativeSurface().getDisplayHandle(); - if (DEBUG) { - System.err.println("glXDestroyContext(dpy " + - toHexString(display)+ - ", ctx " + - toHexString(contextHandle) + ")"); - } - GLX.glXDestroyContext(display, contextHandle); - if (DEBUG) { - System.err.println("!!! Destroyed OpenGL context " + contextHandle); - } + GLX.glXDestroyContext(drawable.getNativeSurface().getDisplayHandle(), contextHandle); } protected void copyImpl(GLContext source, int mask) throws GLException { |