aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-07-18 21:28:47 +0000
committerKenneth Russel <[email protected]>2005-07-18 21:28:47 +0000
commit5e36587af91f43faff49f4ff61c40cf084bae298 (patch)
treeafa7bf5f33e96520ffe71d26ef3bede13a67c515 /src/net/java/games/jogl/impl/windows/WindowsGLContext.java
parent9ccfb4b547a75be721d9bbc2d760e51f170832cd (diff)
Implemented pbuffer instantiation support in GLDrawableFactory rather
than GLCanvas on Windows. Restructured GLJPanel and jogl-demos to use new APIs. Still needs to be ported to other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@326 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/windows/WindowsGLContext.java')
-rw-r--r--src/net/java/games/jogl/impl/windows/WindowsGLContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/java/games/jogl/impl/windows/WindowsGLContext.java b/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
index fccd0bf70..64cb74868 100644
--- a/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
+++ b/src/net/java/games/jogl/impl/windows/WindowsGLContext.java
@@ -179,11 +179,11 @@ public class WindowsGLContext extends GLContextImpl {
if (!WGL.wglDeleteContext(hglrc)) {
throw new GLException("Unable to delete OpenGL context");
}
- hglrc = 0;
- GLContextShareSet.contextDestroyed(this);
if (DEBUG) {
System.err.println(getThreadName() + ": !!! Destroyed OpenGL context " + toHexString(hglrc));
}
+ hglrc = 0;
+ GLContextShareSet.contextDestroyed(this);
}
}