diff options
author | Sven Gothel <[email protected]> | 2013-11-06 15:30:50 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-11-06 15:30:50 +0100 |
commit | de8a370258e60ad9bcf40cf8e6d239ecf306114e (patch) | |
tree | 159c096b234984e445e2c81fd1c13d572760a396 /src/jogl/classes/jogamp/opengl/windows | |
parent | 35ce176152b7d1e6d4eb52f203882fdce4b465c3 (diff) |
Bug 894 - GLDrawableFactory* [dummy|offscreen] Surface creation w/ own device does _not_ require locking on global shared device.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java index 95485b033..64ed197ea 100644 --- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java @@ -41,7 +41,6 @@ package jogamp.opengl.windows.wgl; import java.nio.Buffer; - import java.nio.ShortBuffer; import java.security.AccessController; import java.security.PrivilegedAction; @@ -171,8 +170,8 @@ public class WindowsWGLDrawableFactory extends GLDrawableFactoryImpl { private HashMap<String /*connection*/, SharedResourceRunner.Resource> sharedMap; private long processAffinityChanges = 0; - private PointerBuffer procMask = PointerBuffer.allocateDirect(1); - private PointerBuffer sysMask = PointerBuffer.allocateDirect(1); + private final PointerBuffer procMask = PointerBuffer.allocateDirect(1); + private final PointerBuffer sysMask = PointerBuffer.allocateDirect(1); @Override protected void enterThreadCriticalZone() { |