Revision: 269 http://trac.macosforge.org/projects/xquartz/changeset/269 Author: gstaplin@apple.com Date: 2009-02-26 18:04:06 -0800 (Thu, 26 Feb 2009) Log Message: ----------- Enhance the pbuffer_destroy test to show destructor info by making the context not be current with the pbuffer. Modified Paths: -------------- AppleSGLX/trunk/tests/pbuffer/pbuffer_destroy.c Modified: AppleSGLX/trunk/tests/pbuffer/pbuffer_destroy.c =================================================================== --- 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; }