From 4ce6b9bb78ecc6410436cac515ea025f8e4767bf Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Wed, 17 Jan 2024 06:21:37 +0100 Subject: [PATCH] early-access version 4068 --- README.md | 2 +- src/video_core/renderer_vulkan/vk_present_manager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 400f99071..3f143ac78 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 4067. +This is the source code for early-access 4068. ## Legal Notice 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 100755 --- 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); }