From: Eric Anholt Date: Fri, 4 Dec 2009 02:52:35 +0000 (-0800) Subject: i965: Free gen6 state BOs on context destroy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c3d6f8e3e714451c436d5496167747e9311c3df;p=mesa.git i965: Free gen6 state BOs on context destroy. --- 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); }