summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-16 22:09:39 +0100
committerLiam <byteslice@airmail.cc>2024-01-16 22:09:39 +0100
commite9eb017aacb7931aeeee554fca9a5c81a6eb451a (patch)
tree7c7e766d0434a5aed2a270947a8c168335413679 /src/video_core
parentMerge pull request #12686 from szepeviktor/typos3 (diff)
downloadyuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.tar
yuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.tar.gz
yuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.tar.bz2
yuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.tar.lz
yuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.tar.xz
yuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.tar.zst
yuzu-e9eb017aacb7931aeeee554fca9a5c81a6eb451a.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_present_manager.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}