mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 08:57:11 +02:00
Do not force scissor on clear if scissor is disabled (#3258)
This commit is contained in:
parent
7ee25eb688
commit
2074032ded
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…
Add table
Add a link
Reference in a new issue