aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915tex
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/dri/i915tex
parent87c9ad6fd57a60c29dc83c8a538e70a93d125e25 (diff)
parent2282d815360c2087dd080c794084bea65e6da358 (diff)
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
Diffstat (limited to 'src/mesa/drivers/dri/i915tex')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_screen.c b/src/mesa/drivers/dri/i915tex/intel_screen.c
index bc538902b4c..ac83254593b 100644
--- a/src/mesa/drivers/dri/i915tex/intel_screen.c
+++ b/src/mesa/drivers/dri/i915tex/intel_screen.c
@@ -609,8 +609,7 @@ intelCreateBuffer(__DRIscreenPrivate * driScrnPriv,
static void
intelDestroyBuffer(__DRIdrawablePrivate * driDrawPriv)
{
- /* _mesa_destroy_framebuffer((GLframebuffer *) (driDrawPriv->driverPrivate)); */
- _mesa_dereference_framebuffer((GLframebuffer **)(&(driDrawPriv->driverPrivate)));
+ _mesa_unreference_framebuffer((GLframebuffer **)(&(driDrawPriv->driverPrivate)));
}