diff options
author | Sven Gothel <[email protected]> | 2009-08-03 14:51:57 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-08-03 14:51:57 -0700 |
commit | d741053ed1a422b75d6aeac28be7c5cdba4c4564 (patch) | |
tree | 6ac0771de81a32e87ebd8fc24696b5bc5a8c710b /src/jogl/classes/com/sun/opengl/impl/x11/glx | |
parent | 33c4fbf49ff5d91925d3653dd5d5f034825954e7 (diff) |
WGL 3.2: No need for 'jogl.GLContext.3_2' - just works.
Diffstat (limited to 'src/jogl/classes/com/sun/opengl/impl/x11/glx')
-rw-r--r-- | src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java index 6513fbe29..126062d27 100644 --- a/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/x11/glx/X11GLXContext.java @@ -207,8 +207,8 @@ public abstract class X11GLXContext extends GLContextImpl { // and verify with a None drawable binding (default framebuffer) attribs[0+1] = 3; attribs[2+1] = 2; - attribs[8+0] = GLX.GLX_CONTEXT_PROFILE_MASK_ARB; - attribs[8+1] = GLX.GLX_CONTEXT_CORE_PROFILE_BIT_ARB; + // FIXME: attribs[8+0] = GLX.GLX_CONTEXT_PROFILE_MASK_ARB; + // FIXME: attribs[8+1] = GLX.GLX_CONTEXT_CORE_PROFILE_BIT_ARB; context = glXExt.glXCreateContextAttribsARB(display, config.getFBConfig(), share, direct, attribs, 0); if(0!=context) { @@ -222,12 +222,11 @@ public abstract class X11GLXContext extends GLContextImpl { } else if(DEBUG) { System.err.println("X11GLXContext.createContext >= 3.2 available 0x"+Long.toHexString(context)); } + } else if(DEBUG) { + System.err.println("X11GLXContext.createContext couldn't create >= 3.2 core context - fallback"); } } if(0==context) { - if(tryGLContext3_2 && DEBUG) { - System.err.println("X11GLXContext.createContext couldn't create >= 3.2 core context - fallback"); - } // Try >= 3.1 forward compatible - last resort for GL3 ! attribs[0+1] = 3; attribs[2+1] = 1; |