From 9c4b2112ae58f78cb5da3d34ea9d80c1a9e30f04 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 21 Jan 2025 19:54:52 +1000 Subject: [PATCH] GPU: Fix incorrect screen draw rect Fixes loading screen in Alundra 2, as well as incorrect effective PAR when using None crop mode. --- src/core/gpu_presenter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/gpu_presenter.cpp b/src/core/gpu_presenter.cpp index ddc56f1506..d35fb0d5ec 100644 --- a/src/core/gpu_presenter.cpp +++ b/src/core/gpu_presenter.cpp @@ -560,9 +560,8 @@ GPUDevice::PresentResult GPUPresenter::RenderDisplay(GPUTexture* target, const G if (m_display_texture) { - DrawDisplay(target_size, final_target_size, display_rect, - have_overlay && m_border_overlay_destination_alpha_blend, g_gpu_settings.display_rotation, - prerotation); + DrawDisplay(target_size, final_target_size, draw_rect, have_overlay && m_border_overlay_destination_alpha_blend, + g_gpu_settings.display_rotation, prerotation); } return GPUDevice::PresentResult::OK;