Merge yuzu-emu#12688

This commit is contained in:
yuzubot 2024-01-20 01:00:42 +00:00
parent de4ebdc21d
commit ec55e324f5

View File

@ -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);
}