aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/allegro
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/allegro
parentd52294439c80c99a4bfa2c7ecc65efa67f095a3f (diff)
mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer()
Diffstat (limited to 'src/mesa/drivers/allegro')
-rw-r--r--src/mesa/drivers/allegro/amesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/allegro/amesa.c b/src/mesa/drivers/allegro/amesa.c
index a9d8f62f92d..0744677d2bd 100644
--- a/src/mesa/drivers/allegro/amesa.c
+++ b/src/mesa/drivers/allegro/amesa.c
@@ -338,7 +338,7 @@ void AMesaDestroyBuffer(AMesaBuffer buffer)
{
if (buffer->Screen) destroy_bitmap(buffer->Screen);
if (buffer->Background) destroy_bitmap(buffer->Background);
- _mesa_unreference_framebuffer(&buffer->GLBuffer);
+ _mesa_reference_framebuffer(&buffer->GLBuffer, NULL);
free(buffer);
}