Fix up another instance of _mesa_unreference_framebuffer().
authorMichel Dänzer <daenzer@vmware.com>
Mon, 9 Mar 2009 12:27:54 +0000 (13:27 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Mon, 9 Mar 2009 12:30:17 +0000 (13:30 +0100)
src/gallium/state_trackers/glx/xlib/xm_api.c

index 33dc044ad55954154c3fec3a722f0d890bf29e39..c590d5b296d842d0c83109803b514e5155b9a435 100644 (file)
@@ -458,7 +458,7 @@ xmesa_free_buffer(XMesaBuffer buffer)
          XDestroyImage(buffer->tempImage);
 
          /* Unreference.  If count = zero we'll really delete the buffer */
-         _mesa_unreference_framebuffer(&fb);
+         _mesa_reference_framebuffer(&fb, NULL);
 
          XFreeGC(b->xm_visual->display, b->gc);