Ver código fonte

i965: Free gen6 state BOs on context destroy.

tags/7.8-rc1
Eric Anholt 16 anos atrás
pai
commit
2c3d6f8e3e
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      src/mesa/drivers/dri/i965/brw_vtbl.c

+ 3
- 0
src/mesa/drivers/dri/i965/brw_vtbl.c Ver arquivo

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



Carregando…
Cancelar
Salvar