diff options
author | Sven Gothel <[email protected]> | 2013-03-27 12:27:57 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-27 12:27:57 +0100 |
commit | 9a4fcc7ea4ec61e4ceed791acced734ac04ea270 (patch) | |
tree | 257383c6954b5decb19f9fd0f9a27a24ca865dc1 /src/jogl/classes/jogamp/opengl/windows/wgl | |
parent | 83e9b0ce577e1a78eda20800f86cadcf90905141 (diff) |
SharedRessourceRunner: Add isDeviceSupported(..) query before spawn off thread, allowing a more gracefull detection of n/a GLX on X11
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows/wgl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java index c6bc61a27..9c96f3e3c 100644 --- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java @@ -309,6 +309,11 @@ public class WindowsWGLDrawableFactory extends GLDrawableFactoryImpl { } @Override + public boolean isDeviceSupported(String connection) { + return true; + } + + @Override public SharedResourceRunner.Resource createSharedResource(String connection) { final WindowsGraphicsDevice sharedDevice = new WindowsGraphicsDevice(connection, AbstractGraphicsDevice.DEFAULT_UNIT); sharedDevice.lock(); |