This commit is contained in:
Sasha Szpakowski
2024-12-20 23:45:31 -04:00
parent b87aed937c
commit aa79ed1ad1
+1 -1
View File
@@ -3256,7 +3256,7 @@ void Graphics::cleanupSwapChain()
}
if (depthImage)
{
cleanupFramebuffers(depthImageView, swapChainPixelFormat);
cleanupFramebuffers(depthImageView, depthStencilPixelFormat);
vkDestroyImageView(device, depthImageView, nullptr);
vmaDestroyImage(vmaAllocator, depthImage, depthImageAllocation);
}