summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/fb
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-07 11:32:18 -0700
committerBrian Paul <brianp@vmware.com>2009-03-07 11:32:18 -0700
commit0f04a1d3f8989b0a391e6dad80abf06ce151d1f1 (patch)
tree51ec7f3666cb8f97d243c5de3a8654d5c7c976a4 /src/mesa/drivers/dri/fb
parentb125af1d2587d8e69218010ebba0b748467158a9 (diff)
mesa: remove last of _mesa_unreference_framebuffer() calls
Diffstat (limited to 'src/mesa/drivers/dri/fb')
-rw-r--r--src/mesa/drivers/dri/fb/fb_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_dri.c b/src/mesa/drivers/dri/fb/fb_dri.c
index f1194d7ce8..571b8922d5 100644
--- a/src/mesa/drivers/dri/fb/fb_dri.c
+++ b/src/mesa/drivers/dri/fb/fb_dri.c
@@ -480,7 +480,7 @@ fbCreateBuffer( __DRIscreenPrivate *driScrnPriv,
static void
fbDestroyBuffer(__DRIdrawablePrivate *driDrawPriv)
{
- _mesa_unreference_framebuffer((GLframebuffer **)(&(driDrawPriv->driverPrivate)));
+ _mesa_reference_framebuffer((GLframebuffer **)(&(driDrawPriv->driverPrivate)), NULL);
}