aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/impl/x11
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-01-31 15:12:33 +0100
committerSven Gothel <[email protected]>2011-01-31 15:12:33 +0100
commit0ef5c280a3f3b6c2cf1276a69df537d982d6c1cd (patch)
treeff13b8672cfcc360c8ab2249c259de0896e4b6e4 /src/jogl/classes/com/jogamp/opengl/impl/x11
parent42057f5b9b869013680500231b51be261b4139d8 (diff)
JOGL change of default GLProfile order: GL4bc, GL3bc, GL2, GL2GL3, GL4, GL3, GL2ES2, GLES2, GL2ES1, GLES1
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/x11')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
index 54be2d471..709e2ddab 100644
--- a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
@@ -180,8 +180,7 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl {
if (null == sharedScreen) {
throw new GLException("Couldn't create shared screen for device: "+sharedDevice+", idx 0");
}
- // GLProfile glp = GLProfile.getMinDesktop(sharedDevice);
- GLProfile glp = GLProfile.getDefault(sharedDevice);
+ GLProfile glp = GLProfile.getMinDesktop(sharedDevice);
if (null == glp) {
throw new GLException("Couldn't get default GLProfile for device: "+sharedDevice);
}