mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-11-06 13:49:00 -06:00
Replace glFinish with barrier for WaitForIdle (#878)
This commit is contained in:
@@ -37,6 +37,11 @@ namespace Ryujinx.Graphics.OpenGL
|
||||
_clipDepthMode = ClipDepthMode.NegativeOneToOne;
|
||||
}
|
||||
|
||||
public void Barrier()
|
||||
{
|
||||
GL.MemoryBarrier(MemoryBarrierFlags.AllBarrierBits);
|
||||
}
|
||||
|
||||
public void ClearRenderTargetColor(int index, uint componentMask, ColorF color)
|
||||
{
|
||||
GL.ColorMask(
|
||||
|
||||
Reference in New Issue
Block a user