summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-12-03 18:52:35 -0800
committerEric Anholt <[email protected]>2010-02-25 10:53:07 -0800
commit2c3d6f8e3e714451c436d5496167747e9311c3df (patch)
treedfc4f9729a70e0e8c722ced4c46db159be36275b /src
parentd971375bc1872cb2d95a710e3d62f5b037fbe7f7 (diff)
i965: Free gen6 state BOs on context destroy.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vtbl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c
index 0b0be02dd20..27a2a3e8a7e 100644
--- a/src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/src/mesa/drivers/dri/i965/brw_vtbl.c
@@ -102,6 +102,9 @@ static void brw_destroy_context( struct intel_context *intel )
dri_bo_release(&brw->cc.prog_bo);
dri_bo_release(&brw->cc.state_bo);
dri_bo_release(&brw->cc.vp_bo);
+ dri_bo_release(&brw->cc.blend_state_bo);
+ dri_bo_release(&brw->cc.depth_stencil_state_bo);
+ dri_bo_release(&brw->cc.color_calc_state_bo);
}