Archived
1
0
Fork 0
forked from Mirror/Ryujinx

Ignore ClipControl on draw texture fallback (#3388)

This commit is contained in:
gdkchan 2022-06-11 14:31:17 -03:00 committed by GitHub
parent 9a9349f0f4
commit 830cbf91bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -597,6 +597,8 @@ namespace Ryujinx.Graphics.OpenGL
GL.EndTransformFeedback();
}
GL.ClipControl(ClipOrigin.UpperLeft, ClipDepthMode.NegativeOneToOne);
_drawTexture.Draw(
view,
samp,
@ -627,6 +629,8 @@ namespace Ryujinx.Graphics.OpenGL
{
GL.BeginTransformFeedback(_tfTopology);
}
RestoreClipControl();
}
}
}