summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-03-09 13:27:54 +0100
committerMichel Dänzer <daenzer@vmware.com>2009-03-09 13:30:17 +0100
commit317687cd94d510ed72e32b0aee2782fbc123576b (patch)
tree4e22c6dc1b6f13531c9b882587f8c801efefd1e5
parent0756dc876c01a3d07da34e2da1899b340b0fb819 (diff)
Fix up another instance of _mesa_unreference_framebuffer().
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c
index 33dc044ad5..c590d5b296 100644
--- a/src/gallium/state_trackers/glx/xlib/xm_api.c
+++ b/src/gallium/state_trackers/glx/xlib/xm_api.c
@@ -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);