mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-23 04:16:32 +01:00
Ignore ClipControl on draw texture fallback (#3388)
This commit is contained in:
parent
9a9349f0f4
commit
830cbf91bb
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue