aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-25 15:49:29 +0000
committerKenneth Russel <[email protected]>2006-04-25 15:49:29 +0000
commit088bba59972757ffe7576d06e8581d7374829742 (patch)
tree711d2b11706874ff4b200c45f5bfa3f3f1c9cc37 /src
parent6004a2d13a610c0e3633831d5400ba11dafa8c19 (diff)
Fixed apparent bug pointed out by user EdwinOlson on jogl forum where
it seems the pbuffer drawable wasn't being reset to 0 on X11 platforms git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@738 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
-rw-r--r--src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java b/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java
index 76e87ba3b..27abdf5b6 100644
--- a/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java
+++ b/src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java
@@ -81,6 +81,7 @@ public class X11PbufferGLDrawable extends X11GLDrawable {
lockToolkit();
if (drawable != 0) {
GLX.glXDestroyPbuffer(display, drawable);
+ drawable = 0;
}
unlockToolkit();
display = 0;