aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-09-15 00:43:27 +0200
committerSven Gothel <[email protected]>2010-09-15 00:43:27 +0200
commitdc9191f1733960d8a035b5fb8c5f8314f54a0ca7 (patch)
tree601b6526b1ffe66eee87efb3ad206195c64b1d57 /src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java
parent579754592a8bb9175ea49f983c8f2b58c448d317 (diff)
Misc Cleanups
- www/index.html: absolute local refs -> relative - Platform GLContextImpl specialisations: remove local overriding drawable instance - X11ExternalGLXDrawable: Remove dead code, left over.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java
index 258445ce2..c19871560 100644
--- a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java
@@ -492,11 +492,11 @@ public abstract class GLContextImpl extends GLContext {
if (!mappedVersionsAvailableSet) {
synchronized (mappedVersionsAvailableLock) {
if (!mappedVersionsAvailableSet) {
- createContextARBMapVersionsAvailable(4, false); // GL4
- createContextARBMapVersionsAvailable(4, true); // GL4bc
- createContextARBMapVersionsAvailable(3, false); // GL3
- createContextARBMapVersionsAvailable(3, true); // GL3bc
- createContextARBMapVersionsAvailable(2, true); // GL2
+ createContextARBMapVersionsAvailable(4, false /* core */); // GL4
+ createContextARBMapVersionsAvailable(4, true /* compat */); // GL4bc
+ createContextARBMapVersionsAvailable(3, false /* core */); // GL3
+ createContextARBMapVersionsAvailable(3, true /* compat */); // GL3bc
+ createContextARBMapVersionsAvailable(2, true /* compat */); // GL2
mappedVersionsAvailableSet = true;
if (DEBUG) {
System.err.println(getThreadName() + ": !!! createContextARB: SET mappedVersionsAvailableSet " + mappedVersionsAvailableSet);