diff options
author | Sven Gothel <[email protected]> | 2011-10-26 12:48:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-26 12:48:21 +0200 |
commit | 82c7c16b6298a5a781c9721edb8b81d7ec2aaf81 (patch) | |
tree | 380e29ff9132fc6ba2ede05aae154adb0e688113 /src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java | |
parent | 4433f2a68fa3ca500e258a6862b0e95461fc5083 (diff) |
Minor edits / cleanup of GLContext*
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java index b95b7edbf..8f2ec74af 100644 --- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java +++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java @@ -244,12 +244,8 @@ public class WindowsWGLContext extends GLContextImpl { WGL.wglMakeCurrent(0, 0); WGL.wglDeleteContext(ctx); ctx = 0; - } else { - if (DEBUG) { - System.err.println(getThreadName() + ": createContextARBImpl: OK "+getGLVersion(major, minor, ctp, "@creation")+", share "+share+", direct "+direct); - } - // the following is issued by the caller 'GLContextImpl.createContextARB()' - // setGLFunctionAvailability(true, major, minor, ctp); + } else if (DEBUG) { + System.err.println(getThreadName() + ": createContextARBImpl: OK "+getGLVersion(major, minor, ctp, "@creation")+", share "+share+", direct "+direct); } } else if (DEBUG) { System.err.println(getThreadName() + ": createContextARBImpl: NO "+getGLVersion(major, minor, ctp, "@creation")); |