[Xquartz-changes] [157] AppleSGLX/trunk/glxcmds.c

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 16 15:58:11 PST 2009


Revision: 157
          http://trac.macosforge.org/projects/xquartz/changeset/157
Author:   gstaplin at 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:
--------------
    AppleSGLX/trunk/glxcmds.c

Modified: AppleSGLX/trunk/glxcmds.c
===================================================================
--- 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) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20090216/32162650/attachment-0001.html>


More information about the Xquartz-changes mailing list