Qt: Fix render-window-resize with 270deg rotation
This commit is contained in:
parent
7cbd67ecf1
commit
1b9b4699d9
|
@ -5398,7 +5398,7 @@ void System::RequestDisplaySize(float scale /*= 0.0f*/)
|
|||
std::max<u32>(static_cast<u32>(std::ceil(static_cast<float>(g_gpu->GetCRTCDisplayHeight()) * y_scale * scale)), 1);
|
||||
|
||||
if (g_settings.display_rotation == DisplayRotation::Rotate90 ||
|
||||
g_settings.display_rotation == DisplayRotation::Rotate180)
|
||||
g_settings.display_rotation == DisplayRotation::Rotate270)
|
||||
std::swap(requested_width, requested_height);
|
||||
|
||||
Host::RequestResizeHostDisplay(static_cast<s32>(requested_width), static_cast<s32>(requested_height));
|
||||
|
|
Loading…
Reference in New Issue