mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 13:20:14 +01:00
i965: Don't leak blorp on Gen4-5.
We used to only initialize BLORP on Gen6+. When we added it on Gen4-5,
we forgot to destroy it unconditionally.
Fixes: 752d7af77a (i965: Add blorp support for gen4-5)
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
ed5af94373
commit
2dc29e095f
1 changed files with 1 additions and 2 deletions
|
|
@ -1119,8 +1119,7 @@ intelDestroyContext(__DRIcontext * driContextPriv)
|
|||
brw_destroy_shader_time(brw);
|
||||
}
|
||||
|
||||
if (devinfo->gen >= 6)
|
||||
blorp_finish(&brw->blorp);
|
||||
blorp_finish(&brw->blorp);
|
||||
|
||||
brw_destroy_state(brw);
|
||||
brw_draw_destroy(brw);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue