summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-05 08:42:18 -0700
committerBrian <[email protected]>2007-11-05 08:42:18 -0700
commit131330994aed8ff63360a9fb54d498a3d3641e5f (patch)
treed1275705a71d5724d3a7867c55dcd031b1ec96f4
parent44dfed15e0c5113d42d781e3937a2f619284454a (diff)
use st_unreference_framebuffer()
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_screen.c b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
index ec94f3bbe1d..bcbb93ecb85 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_screen.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_screen.c
@@ -352,7 +352,8 @@ intelCreateBuffer(__DRIscreenPrivate * driScrnPriv,
static void
intelDestroyBuffer(__DRIdrawablePrivate * driDrawPriv)
{
- _mesa_unreference_framebuffer((GLframebuffer **)(&(driDrawPriv->driverPrivate)));
+ st_unreference_framebuffer((struct st_framebuffer **)
+ (&(driDrawPriv->driverPrivate)));
}