Sasha Szpakowski vor 8 Monaten
Ursprung
Commit
aa79ed1ad1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/modules/graphics/vulkan/Graphics.cpp

+ 1 - 1
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);
 	}