From 5f4efa456de656a50ab4908a8c396365360e99cc Mon Sep 17 00:00:00 2001 From: yuzubot Date: Fri, 19 Jan 2024 01:00:45 +0000 Subject: [PATCH] Merge yuzu-emu#12688 --- src/video_core/renderer_vulkan/vk_present_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_present_manager.cpp b/src/video_core/renderer_vulkan/vk_present_manager.cpp index 792ed9615..5e7518d96 100644 --- a/src/video_core/renderer_vulkan/vk_present_manager.cpp +++ b/src/video_core/renderer_vulkan/vk_present_manager.cpp @@ -329,7 +329,7 @@ void PresentManager::CopyToSwapchainImpl(Frame* frame) { // to account for that. const bool is_suboptimal = swapchain.NeedsRecreation(); const bool size_changed = - swapchain.GetWidth() < frame->width || swapchain.GetHeight() < frame->height; + swapchain.GetWidth() != frame->width || swapchain.GetHeight() != frame->height; if (is_suboptimal || size_changed) { RecreateSwapchain(frame); }