From aa79ed1ad1f255a9f6a72789e8aff609eadfb9e3 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Fri, 20 Dec 2024 23:45:31 -0400 Subject: [PATCH] Fix typo --- src/modules/graphics/vulkan/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/vulkan/Graphics.cpp b/src/modules/graphics/vulkan/Graphics.cpp index e696c7773..e388bae1a 100644 --- a/src/modules/graphics/vulkan/Graphics.cpp +++ b/src/modules/graphics/vulkan/Graphics.cpp @@ -3256,7 +3256,7 @@ void Graphics::cleanupSwapChain() } if (depthImage) { - cleanupFramebuffers(depthImageView, swapChainPixelFormat); + cleanupFramebuffers(depthImageView, depthStencilPixelFormat); vkDestroyImageView(device, depthImageView, nullptr); vmaDestroyImage(vmaAllocator, depthImage, depthImageAllocation); }