From b2a225558d721c815684d91426c1b6934d844e60 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 4 Apr 2022 18:30:43 -0300 Subject: [PATCH] Do not force scissor on clear if scissor is disabled (#3258) --- Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs index 76141215..44d2d393 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs @@ -525,7 +525,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed int scissorW = screenScissorState.Width; int scissorH = screenScissorState.Height; - if (clearAffectedByScissor) + if (clearAffectedByScissor && _state.State.ScissorState[0].Enable) { ref var scissorState = ref _state.State.ScissorState[0];