summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-10 09:43:22 +0200
committerSven Gothel <[email protected]>2010-05-10 09:43:22 +0200
commit6798fc1fb008eff4179f64775a7bf33cfbfd1981 (patch)
treeaf877a31adb86341097bc7152ebe76a99e645893 /src/jogl/classes/com
parentc626265ab883661c6fe263831af10d7c8b7211f3 (diff)
../jogl.log
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java10
-rw-r--r--src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java
index 352c1e25e..b59cb7940 100644
--- a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java
@@ -219,7 +219,7 @@ public class WindowsWGLContext extends GLContextImpl {
boolean createContextARBTried = false;
// utilize the shared context's GLXExt in case it was using the ARB method and it already exists
- if(false && null!=factory.getSharedContext() && factory.getSharedContext().isCreatedWithARBMethod()) { // FIXME JAU
+ if( null!=factory.getSharedContext() && factory.getSharedContext().isCreatedWithARBMethod() ) {
if(DEBUG) {
System.err.println("WindowsWGLContext.createContext using shared Context: "+factory.getSharedContext());
}
@@ -253,8 +253,8 @@ public class WindowsWGLContext extends GLContextImpl {
hglrc = temp_hglrc;
return;
}
- // FIXME JAU hglrc = createContextARB(share, true, major, minor, ctp);
- // FIXME JAU createContextARBTried=true;
+ hglrc = createContextARB(share, true, major, minor, ctp);
+ createContextARBTried=true;
}
if(0!=hglrc) {
@@ -380,8 +380,8 @@ public class WindowsWGLContext extends GLContextImpl {
wglMakeContextCurrentEXTAvailable=false;
if (wglExtProcAddressTable == null) {
- // FIXME: cache ProcAddressTables by capability bits so we can
- // share them among contexts with the same capabilities
+ // FIXME: cache ProcAddressTables by OpenGL context type bits so we can
+ // share them among contexts classes (GL4, GL4bc, GL3, GL3bc, ..)
wglExtProcAddressTable = new WGLExtProcAddressTable(new GLProcAddressResolver());
}
resetProcAddressTable(getWGLExtProcAddressTable());
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java
index 1d7f696b2..cdb7931d1 100644
--- a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java
@@ -474,8 +474,8 @@ public abstract class X11GLXContext extends GLContextImpl {
glXQueryExtensionsStringAvailable = false;
if (glXExtProcAddressTable == null) {
- // FIXME: cache ProcAddressTables by capability bits so we can
- // share them among contexts with the same capabilities
+ // FIXME: cache ProcAddressTables by OpenGL context type bits so we can
+ // share them among contexts classes (GL4, GL4bc, GL3, GL3bc, ..)
glXExtProcAddressTable = new GLXExtProcAddressTable(new GLProcAddressResolver());
}
resetProcAddressTable(getGLXExtProcAddressTable());