aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-08 03:44:30 +0200
committerSven Gothel <[email protected]>2011-09-08 03:44:30 +0200
commit3812f3400e5156622ae1c11178bacc675941693b (patch)
tree9429715b151ebe06984fa875cacb0c67274f809c /src/jogl/classes/jogamp
parent28b0df6c300494a2b54c07fdf43ef04f5f1b0073 (diff)
Minor edits, dead code, test invocation
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java
index ced46d5b1..d37d6c53a 100644
--- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java
+++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java
@@ -183,9 +183,6 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl {
}
X11GraphicsScreen sharedScreen = new X11GraphicsScreen(sharedDevice, 0);
- if (null == sharedScreen) {
- throw new GLException("Couldn't create shared screen for device: "+sharedDevice+", idx 0");
- }
GLProfile glp = GLProfile.get(sharedDevice, GLProfile.GL_PROFILE_LIST_MIN_DESKTOP);
if (null == glp) {
throw new GLException("Couldn't get default GLProfile for device: "+sharedDevice);