nv2a/vk: Release renderer state at finalize

This commit is contained in:
Matt Borgerson 2024-07-26 17:21:01 -07:00 committed by mborgerson
parent d6e8307950
commit 3ccea5fa12
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ static void pgraph_vk_finalize(NV2AState *d)
pgraph_vk_finalize_buffers(d);
pgraph_vk_finalize_command_buffers(pg);
pgraph_vk_finalize_instance(pg);
g_free(pg->vk_renderer_state);
pg->vk_renderer_state = NULL;
}
static void pgraph_vk_flush(NV2AState *d)