use st_unreference_framebuffer()
authorBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 15:42:18 +0000 (08:42 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 15:42:18 +0000 (08:42 -0700)
src/mesa/drivers/dri/intel_winsys/intel_screen.c

index ec94f3bbe1d3ced61743151d0760ed5afdfd2eb3..bcbb93ecb853c49b6a506138e0dc8fd84af3de85 100644 (file)
@@ -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)));
 }