summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/allegro/amesa.c
diff options
context:
space:
mode:
authorNian Wu <[email protected]>2007-03-07 16:01:36 -0500
committerNian Wu <[email protected]>2007-03-07 16:01:36 -0500
commit1e055089a37bca8bc5e1cec37d5559fcdb0cf21f (patch)
tree9838f0ffaca0e0289132b66646182010316f5873 /src/mesa/drivers/allegro/amesa.c
parent87c9ad6fd57a60c29dc83c8a538e70a93d125e25 (diff)
parent2282d815360c2087dd080c794084bea65e6da358 (diff)
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
Diffstat (limited to 'src/mesa/drivers/allegro/amesa.c')
-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 594668affda..518211ccf46 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_destroy_framebuffer(buffer->GLBuffer);
+ _mesa_unreference_framebuffer(&buffer->GLBuffer);
free(buffer);
}