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

This commit is contained in:
gdkchan 2022-04-04 18:30:43 -03:00 committed by Matt Heins
parent c6b8a7e466
commit 6f8b70734b

View file

@ -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];