mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
OpenGLDevice: Fix incorrect scissor rect
This commit is contained in:
parent
6328d08c14
commit
e08f888e72
|
@ -553,7 +553,7 @@ void GPUDevice::RenderImGui()
|
|||
const s32 flipped_y =
|
||||
static_cast<s32>(m_window_info.surface_height) - static_cast<s32>(pcmd->ClipRect.y) - height;
|
||||
SetScissor(static_cast<s32>(pcmd->ClipRect.x), flipped_y, static_cast<s32>(pcmd->ClipRect.z - pcmd->ClipRect.x),
|
||||
flipped_y + height);
|
||||
height);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue