nv2a/vk: Clear render_passes on finalization

This commit is contained in:
Matt Borgerson 2024-07-26 17:21:02 -07:00 committed by mborgerson
parent 5119e3a365
commit 177dcc7559
1 changed files with 1 additions and 0 deletions

View File

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