From a9e64edf73f36fb1a4ac616b11131f6380d8e968 Mon Sep 17 00:00:00 2001 From: BearOso Date: Thu, 13 Jun 2024 16:50:12 -0500 Subject: [PATCH] Vulkan/Win32: Fix compile error. --- win32/CVulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/CVulkan.cpp b/win32/CVulkan.cpp index 08b408b1..9f3a226f 100644 --- a/win32/CVulkan.cpp +++ b/win32/CVulkan.cpp @@ -178,7 +178,7 @@ bool CVulkan::ChangeRenderSize(unsigned int newWidth, unsigned int newHeight) if (!context) return false; - if (newWidth != current_width || newHeight != current_height || vsync_changed) + if (newWidth != current_width || newHeight != current_height) { context->recreate_swapchain(newWidth, newHeight); context->wait_idle();