Replace glFinish with barrier for WaitForIdle (#878)
This commit is contained in:
parent
88f78ae6c8
commit
2bb39ff03e
5 changed files with 8 additions and 8 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue