rtx: fix gbuffer destruction

This commit is contained in:
Ivan 'provod' Avdeev 2021-11-09 11:06:35 -08:00
parent a152fb8ac1
commit 4712b7c1eb
1 changed files with 2 additions and 0 deletions

View File

@ -1262,6 +1262,8 @@ void VK_RayShutdown( void ) {
VK_ImageDestroy(&g_rtx.frames[i].denoised);
VK_ImageDestroy(&g_rtx.frames[i].base_color);
VK_ImageDestroy(&g_rtx.frames[i].diffuse_gi);
VK_ImageDestroy(&g_rtx.frames[i].specular);
VK_ImageDestroy(&g_rtx.frames[i].additive);
}
vkDestroyPipeline(vk_core.device, g_rtx.pipeline, NULL);