i965: Free gen6 state BOs on context destroy.

This commit is contained in:
Eric Anholt 2009-12-03 18:52:35 -08:00
parent d971375bc1
commit 2c3d6f8e3e

View file

@ -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);
}