diff options
Diffstat (limited to 'src/classes')
-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; |