1
0
forked from MeloNX/MeloNX

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 GitHub
parent 7ee25eb688
commit 2074032ded

View File

@ -525,7 +525,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
int scissorW = screenScissorState.Width; int scissorW = screenScissorState.Width;
int scissorH = screenScissorState.Height; int scissorH = screenScissorState.Height;
if (clearAffectedByScissor) if (clearAffectedByScissor && _state.State.ScissorState[0].Enable)
{ {
ref var scissorState = ref _state.State.ScissorState[0]; ref var scissorState = ref _state.State.ScissorState[0];