aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-21 07:13:45 +0100
committerSven Gothel <[email protected]>2011-03-21 07:13:45 +0100
commitab93183b90e83b9aebc29031c7b88b9a3dc58ff5 (patch)
tree3b5276e51236137d3c43cb3fba0a5a3eb1658d71 /src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java
parent41fc808eff8d145c37d10a98eb4d8a86bda6f018 (diff)
Fix Bug #480 (attempt) - ATI + WinXP: make context current for ARB PFD queries/selection
TODO: Validate if bug is actually relates to the 'old' ATI Windows driver for old GPU's like X300 etc and unrelated to the actual Windows version ! Also ensure that the no pixelformat is being set on external context/HDC.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java
index 7666ae350..ede504735 100644
--- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java
+++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java
@@ -69,7 +69,7 @@ public class WindowsExternalWGLDrawable extends WindowsWGLDrawable {
}
AbstractGraphicsScreen aScreen = DefaultGraphicsScreen.createDefault(NativeWindowFactory.TYPE_WINDOWS);
- WindowsWGLGraphicsConfiguration cfg = WindowsWGLGraphicsConfiguration.createFromCurrent(factory, hdc, pfdID, glp, aScreen, true);
+ WindowsWGLGraphicsConfiguration cfg = WindowsWGLGraphicsConfiguration.createFromExternal(factory, hdc, pfdID, glp, aScreen, true);
return new WindowsExternalWGLDrawable(factory, new WrappedSurface(cfg, hdc));
}