mirror of https://github.com/PCSX2/pcsx2.git
GS/Vulkan: Saturate ImGui scissor to zero
This commit is contained in:
parent
20ab5ed0fa
commit
e68aaf6540
|
@ -2361,7 +2361,7 @@ void GSDeviceVK::RenderImGui()
|
||||||
if ((clip.zwzw() <= clip.xyxy()).mask() != 0)
|
if ((clip.zwzw() <= clip.xyxy()).mask() != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
SetScissor(GSVector4i(clip));
|
SetScissor(GSVector4i(clip).max_i32(GSVector4i::zero()));
|
||||||
|
|
||||||
// Since we don't have the GSTexture...
|
// Since we don't have the GSTexture...
|
||||||
Vulkan::Texture* tex = static_cast<Vulkan::Texture*>(pcmd->GetTexID());
|
Vulkan::Texture* tex = static_cast<Vulkan::Texture*>(pcmd->GetTexID());
|
||||||
|
|
Loading…
Reference in New Issue