diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-06-11 14:31:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 14:31:17 -0300 |
commit | 830cbf91bb8766e6347291bdff765a8a4e8c95b8 (patch) | |
tree | 6d2cfd16c81a88646a18cad225b8d14f6c136286 | |
parent | 9a9349f0f4e3c6e80bacc782a8d4a4766f89ea74 (diff) |
Ignore ClipControl on draw texture fallback (#3388)1.1.144
-rw-r--r-- | Ryujinx.Graphics.OpenGL/Pipeline.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Pipeline.cs b/Ryujinx.Graphics.OpenGL/Pipeline.cs index ced41d48..637e4606 100644 --- a/Ryujinx.Graphics.OpenGL/Pipeline.cs +++ b/Ryujinx.Graphics.OpenGL/Pipeline.cs @@ -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(); } } } |