Revision
157
Author
gstaplin@apple.com
Date
2009-02-16 15:58:10 -0800 (Mon, 16 Feb 2009)

Log Message

Add a call to the destructor in the glXDestroyGLXPixmap function.

Modified Paths

Diff

Modified: AppleSGLX/trunk/glxcmds.c (156 => 157)


--- AppleSGLX/trunk/glxcmds.c	2009-02-16 23:57:14 UTC (rev 156)
+++ AppleSGLX/trunk/glxcmds.c	2009-02-16 23:58:10 UTC (rev 157)
@@ -717,6 +717,9 @@
 */
 PUBLIC void glXDestroyGLXPixmap(Display *dpy, GLXPixmap glxpixmap)
 {
+    apple_glx_pixmap_destroy(dpy, glxpixmap);
+
+#if 0
     xGLXDestroyGLXPixmapReq *req;
     CARD8 opcode;
 
@@ -733,6 +736,7 @@
     req->glxpixmap = glxpixmap;
     UnlockDisplay(dpy);
     SyncHandle();
+#endif
 }
 
 PUBLIC void glXSwapBuffers(Display *dpy, GLXDrawable drawable) {