From: Eric Anholt Date: Fri, 4 Dec 2009 02:52:35 +0000 (-0800) Subject: i965: Free gen6 state BOs on context destroy. X-Git-Tag: mesa-7.8~441^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c3d6f8e3e714451c436d5496167747e9311c3df;p=platform%2Fupstream%2Fmesa.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 0b0be02..27a2a3e 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); }