diff options
author | Sven Gothel <[email protected]> | 2012-01-09 03:52:08 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-01-09 03:52:08 +0100 |
commit | acb48154608c8f4e3f49306ff6e2ab3d5df8bc72 (patch) | |
tree | fbb151bf1e0e23aa4ba1a32ebe4535b19c979786 /src/nativewindow/classes | |
parent | c49d29784986b1945343b9a90b5e0c9f3d95d937 (diff) |
WindowsJAWTWindow: unlock() invalidates the 'hdc' (surfaceHandle)
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r-- | src/nativewindow/classes/jogamp/nativewindow/jawt/windows/WindowsJAWTWindow.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/WindowsJAWTWindow.java b/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/WindowsJAWTWindow.java index 43d446915..786682b17 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/WindowsJAWTWindow.java +++ b/src/nativewindow/classes/jogamp/nativewindow/jawt/windows/WindowsJAWTWindow.java @@ -117,6 +117,7 @@ public class WindowsJAWTWindow extends JAWTWindow { } protected void unlockSurfaceImpl() throws NativeWindowException { + drawable = 0; // invalid HDC if(null!=ds) { if (null!=dsi) { ds.FreeDrawingSurfaceInfo(dsi); |