diff options
author | Sven Gothel <[email protected]> | 2012-03-25 03:37:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-25 03:37:28 +0200 |
commit | 2b9c6ce89136af53458c2b810ad971ab28e6874d (patch) | |
tree | 6d145d552d7f547651a5d06fee7d0691e5aa1fc3 /src/jogl/classes | |
parent | 3ed491213f8f7f05d7b9866b50d764370d8ff5f6 (diff) |
X11GLXContext: Remove DEBUG_GLX_MAKECURRENT
Diffstat (limited to 'src/jogl/classes')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java index 5cfd12ef5..2de747136 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java @@ -55,7 +55,6 @@ import javax.media.opengl.GLProfile; import jogamp.nativewindow.x11.X11Lib; import jogamp.nativewindow.x11.X11Util; -import jogamp.opengl.Debug; import jogamp.opengl.GLContextImpl; import jogamp.opengl.GLDrawableImpl; @@ -64,7 +63,6 @@ import com.jogamp.gluegen.runtime.ProcAddressTable; import com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver; public abstract class X11GLXContext extends GLContextImpl { - private static final boolean DEBUG_GLX_MAKECURRENT = Debug.debug("GLX_MAKE_CURRENT"); private static final Map<String, String> functionNameMap; private static final Map<String, String> extensionNameMap; private GLXExt _glXExt; @@ -139,11 +137,6 @@ public abstract class X11GLXContext extends GLContextImpl { boolean res = false; try { - if(DEBUG_GLX_MAKECURRENT) { - System.err.println(getThreadName()+": glXMakeContextCurrent(dpy "+toHexString(dpy)+", write "+ toHexString(writeDrawable)+ - ", read "+toHexString(readDrawable)+", ctx "+toHexString(ctx)+") - GLX >= 1.3 "+ isGLXVersionGreaterEqualOneThree()); - Thread.dumpStack(); - } if ( isGLXVersionGreaterEqualOneThree() ) { res = GLX.glXMakeContextCurrent(dpy, writeDrawable, readDrawable, ctx); } else if ( writeDrawable == readDrawable ) { |