GPU: Fix prerotated presenting with OpenGL

pull/3372/head
Stenzek 9 months ago
parent 995a34e0e3
commit 3a44c3a758
No known key found for this signature in database

@ -726,8 +726,8 @@ void GPUPresenter::DrawScreenQuad(const GSVector4i rect, const GSVector4 uv_rect
WindowInfo::PreRotation prerotation)
{
const GSVector4i real_rect = GPUSwapChain::PreRotateClipRect(prerotation, target_size, rect);
g_gpu_device->SetScissor(g_gpu_device->UsesLowerLeftOrigin() ? GPUDevice::FlipToLowerLeft(real_rect, target_size.y) :
real_rect);
g_gpu_device->SetScissor(
g_gpu_device->UsesLowerLeftOrigin() ? GPUDevice::FlipToLowerLeft(real_rect, final_target_size.y) : real_rect);
GPUBackend::ScreenVertex* vertices;
u32 space;

Loading…
Cancel
Save