summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-09 08:31:28 -0700
committerBrian Paul <[email protected]>2009-02-09 14:00:47 -0700
commit7eb5a2892d3d89f4b1800311babb40af1ec7d4e5 (patch)
treecb7dafe139be3a00c0c92146210925ba8dbb83b3 /src/mesa/drivers/x11
parentd52294439c80c99a4bfa2c7ecc65efa67f095a3f (diff)
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 00ce3ba7237..2a8c3a4fd36 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -492,7 +492,7 @@ xmesa_free_buffer(XMesaBuffer buffer)
b->frontxrb->drawable = 0;
/* Unreference. If count = zero we'll really delete the buffer */
- _mesa_unreference_framebuffer(&fb);
+ _mesa_reference_framebuffer(&fb, NULL);
return;
}