From e68aaf6540e964869bd97bd5710162c4bb2980b6 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 15 Apr 2023 15:11:22 +1000 Subject: [PATCH] GS/Vulkan: Saturate ImGui scissor to zero --- pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp index c3d5098af0..fdf286f3ef 100644 --- a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp +++ b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp @@ -2361,7 +2361,7 @@ void GSDeviceVK::RenderImGui() if ((clip.zwzw() <= clip.xyxy()).mask() != 0) continue; - SetScissor(GSVector4i(clip)); + SetScissor(GSVector4i(clip).max_i32(GSVector4i::zero())); // Since we don't have the GSTexture... Vulkan::Texture* tex = static_cast(pcmd->GetTexID());