summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/fbdev
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/fbdev
parentd52294439c80c99a4bfa2c7ecc65efa67f095a3f (diff)
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
Diffstat (limited to 'src/mesa/drivers/fbdev')
-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 3c874ba57ab..531558dc4d6 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);
}
}
}