diff options
author | Kenneth Russel <[email protected]> | 2006-04-25 15:49:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-04-25 15:49:29 +0000 |
commit | 088bba59972757ffe7576d06e8581d7374829742 (patch) | |
tree | 711d2b11706874ff4b200c45f5bfa3f3f1c9cc37 /src/classes/com/sun/opengl/impl/x11 | |
parent | 6004a2d13a610c0e3633831d5400ba11dafa8c19 (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/classes/com/sun/opengl/impl/x11')
-rw-r--r-- | src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java | 1 |
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; |