mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-11 05:26:38 +00:00
Do not force scissor on clear if scissor is disabled (#3258)
This commit is contained in:
parent
0ef0fc044a
commit
b2a225558d
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue