diff options
author | Sven Gothel <[email protected]> | 2012-02-25 18:30:25 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-25 18:30:25 +0100 |
commit | c3098619080d10e5bec8b52999117002b16f3ff5 (patch) | |
tree | 0be5c16d29a17010f8c2799fa2abfe54fb96b581 /src/jogl/classes/jogamp/opengl/SharedResourceRunner.java | |
parent | 24f66881aed6bf1f6b79fe6d14ef3fdc0e254fab (diff) |
X11/GLX: Query X Server whether GLX is available (X11/SharedResourceRunner) ; Minor cleanups.
Before gathering GLX details and actually instantiate a X11/GLX shared resource,
we shall query whether GLX is actually available.
Since GLX availability is being queried on the server side,
more changes are required for the X11GLX* impl,
eg. not using X11GLXGraphicsConfigurationFactory and fall back to
X11GraphicsConfigurationFactory.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/SharedResourceRunner.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/SharedResourceRunner.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java b/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java index a33e03a1a..0528d3060 100644 --- a/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java +++ b/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java @@ -260,7 +260,9 @@ public class SharedResourceRunner implements Runnable { try { sr = impl.createSharedResource(initConnection); } catch (Exception e) { - e.printStackTrace(); + if(DEBUG) { + e.printStackTrace(); + } } if (null != sr) { impl.mapPut(initConnection, sr); |