Explorar o código

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

gdkchan %!s(int64=4) %!d(string=hai) anos
pai
achega
b2a225558d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];