Browse Source

Do not force scissor on clear if scissor is disabled (#3258)

gdkchan 4 years ago
parent
commit
b2a225558d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Ryujinx.Graphics.Gpu/Engine/Threed/DrawManager.cs

+ 1 - 1
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];