From b95dbaeb0d23d365bc15d9b6deb4149d35be533a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 27 Mar 2013 12:33:16 +0100 Subject: Complete 9a4fcc7ea4ec61e4ceed791acced734ac04ea270: SharedResourceRunner.Impl.createSharedResource(..): isGLXAvailableOnServer(..) call redundant since checked upfront at isDeviceSupported(..) --- src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/x11') diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java index 8d1717e75..f22bbfc52 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java @@ -250,9 +250,6 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl { try { final X11GraphicsScreen sharedScreen = new X11GraphicsScreen(sharedDevice, sharedDevice.getDefaultScreen()); - if(!GLXUtil.isGLXAvailableOnServer(sharedDevice)) { - throw new GLException("GLX not available on device/server: "+sharedDevice); - } GLXUtil.initGLXClientDataSingleton(sharedDevice); final String glXServerVendorName = GLX.glXQueryServerString(sharedDevice.getHandle(), 0, GLX.GLX_VENDOR); final VersionNumber glXServerVersion = GLXUtil.getGLXServerVersionNumber(sharedDevice); -- cgit v1.2.3