summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/fbdev/glfbdev.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-09 08:31:28 -0700
committerBrian Paul <brianp@vmware.com>2009-02-09 14:00:47 -0700
commit7eb5a2892d3d89f4b1800311babb40af1ec7d4e5 (patch)
treecb7dafe139be3a00c0c92146210925ba8dbb83b3 /src/mesa/drivers/fbdev/glfbdev.c
parentd52294439c80c99a4bfa2c7ecc65efa67f095a3f (diff)
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
Diffstat (limited to 'src/mesa/drivers/fbdev/glfbdev.c')
-rw-r--r--src/mesa/drivers/fbdev/glfbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/fbdev/glfbdev.c b/src/mesa/drivers/fbdev/glfbdev.c
index 3c874ba57a..531558dc4d 100644
--- a/src/mesa/drivers/fbdev/glfbdev.c
+++ b/src/mesa/drivers/fbdev/glfbdev.c
@@ -685,7 +685,7 @@ glFBDevDestroyBuffer( GLFBDevBufferPtr buffer )
}
{
struct gl_framebuffer *fb = &buffer->glframebuffer;
- _mesa_unreference_framebuffer(&fb);
+ _mesa_reference_framebuffer(&fb, NULL);
}
}
}