From: Brian Date: Mon, 5 Nov 2007 15:42:18 +0000 (-0700) Subject: use st_unreference_framebuffer() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=131330994aed8ff63360a9fb54d498a3d3641e5f;p=mesa.git use st_unreference_framebuffer() --- 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))); }