summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/windows
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-01 22:05:48 +0200
committerSven Gothel <[email protected]>2011-08-01 22:05:48 +0200
commitb6935220e6582395585834cd1d503d2f447d5656 (patch)
treea220210a992fa0c4b6c77463f50074aa54fd0f1c /src/jogl/classes/jogamp/opengl/windows
parente91429bc17c409cd69f2abf36dfef7035e195b09 (diff)
GLContext Impl: Fix Platform 'GLX' ProcAddress Caching, allow multiple types
- Add platform type to key
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows')
-rw-r--r--src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java
index 55e2e478c..a525eb513 100644
--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java
+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java
@@ -391,9 +391,9 @@ public class WindowsWGLContext extends GLContextImpl {
}
protected final void updateGLXProcAddressTable() {
- AbstractGraphicsConfiguration aconfig = drawable.getNativeSurface().getGraphicsConfiguration().getNativeGraphicsConfiguration();
- AbstractGraphicsDevice adevice = aconfig.getScreen().getDevice();
- String key = adevice.getUniqueID();
+ final AbstractGraphicsConfiguration aconfig = drawable.getNativeSurface().getGraphicsConfiguration().getNativeGraphicsConfiguration();
+ final AbstractGraphicsDevice adevice = aconfig.getScreen().getDevice();
+ final String key = "WGL-"+adevice.getUniqueID();
if (DEBUG) {
System.err.println(getThreadName() + ": !!! Initializing WGL extension address table: "+key);
}