mirror of https://github.com/xemu-project/xemu.git
nv2a/vk: Clear render_passes on finalization
This commit is contained in:
parent
5119e3a365
commit
177dcc7559
|
@ -208,6 +208,7 @@ static void finalize_render_passes(PGRAPHVkState *r)
|
|||
vkDestroyRenderPass(r->device, p->render_pass, NULL);
|
||||
}
|
||||
g_array_free(r->render_passes, true);
|
||||
r->render_passes = NULL;
|
||||
}
|
||||
|
||||
void pgraph_vk_init_pipelines(PGRAPHState *pg)
|
||||
|
|
Loading…
Reference in New Issue