From 088bba59972757ffe7576d06e8581d7374829742 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 25 Apr 2006 15:49:29 +0000 Subject: 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 --- src/classes/com/sun/opengl/impl/x11/X11PbufferGLDrawable.java | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3