mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Ignore ClipControl on draw texture fallback (#3388)
This commit is contained in:
1 parent
9a9349f0f4
commit
830cbf91bb
1 file changed
+4
@@ -597,6 +597,8 @@ namespace Ryujinx.Graphics.OpenGL
|
|||||||
GL.EndTransformFeedback();
|
GL.EndTransformFeedback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GL.ClipControl(ClipOrigin.UpperLeft, ClipDepthMode.NegativeOneToOne);
|
||||||
|
|
||||||
_drawTexture.Draw(
|
_drawTexture.Draw(
|
||||||
view,
|
view,
|
||||||
samp,
|
samp,
|
||||||
@@ -627,6 +629,8 @@ namespace Ryujinx.Graphics.OpenGL
|
|||||||
{
|
{
|
||||||
GL.BeginTransformFeedback(_tfTopology);
|
GL.BeginTransformFeedback(_tfTopology);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RestoreClipControl();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user