Enhance the pbuffer_destroy test to show destructor info by making the context not be current with the pbuffer.
--- AppleSGLX/trunk/tests/pbuffer/pbuffer_destroy.c 2009-02-27 02:01:38 UTC (rev 268)
+++ AppleSGLX/trunk/tests/pbuffer/pbuffer_destroy.c 2009-02-27 02:04:06 UTC (rev 269)
@@ -160,6 +160,8 @@
draw(dpy);
glXDestroyPbuffer(dpy, pbuf);
draw(dpy);
-
+ glXMakeCurrent(dpy, None, ctx);
+ draw(dpy);
+
return EXIT_SUCCESS;
}