Skip to content

Commit

Permalink
GPU: Fix incorrect screen draw rect
Browse files Browse the repository at this point in the history
Fixes loading screen in Alundra 2, as well as incorrect effective
PAR when using None crop mode.
  • Loading branch information
stenzek committed Jan 21, 2025
1 parent fb3e290 commit 9c4b211
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/gpu_presenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9c4b211

Please # to comment.