From e08f888e72d36c177ad2760d910108dca04b5f42 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 17 Dec 2023 00:09:23 +1000 Subject: [PATCH] OpenGLDevice: Fix incorrect scissor rect --- src/util/gpu_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/gpu_device.cpp b/src/util/gpu_device.cpp index 100d69fee..0b649e06c 100644 --- a/src/util/gpu_device.cpp +++ b/src/util/gpu_device.cpp @@ -553,7 +553,7 @@ void GPUDevice::RenderImGui() const s32 flipped_y = static_cast(m_window_info.surface_height) - static_cast(pcmd->ClipRect.y) - height; SetScissor(static_cast(pcmd->ClipRect.x), flipped_y, static_cast(pcmd->ClipRect.z - pcmd->ClipRect.x), - flipped_y + height); + height); } else {