mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Call glMemoryBarrier before polygon draw when N64DepthCompare enabled.
This commit is contained in:
parent
2a6d1f1f1b
commit
b6067bb90d
|
@ -189,6 +189,9 @@ void BufferedDrawer::_updateTrianglesBuffers(const graphics::Context::DrawTriang
|
|||
|
||||
void BufferedDrawer::drawTriangles(const graphics::Context::DrawTriangleParameters & _params)
|
||||
{
|
||||
if (config.frameBufferEmulation.N64DepthCompare != 0)
|
||||
glMemoryBarrier(GL_SHADER_IMAGE_ACCESS_BARRIER_BIT);
|
||||
|
||||
_updateTrianglesBuffers(_params);
|
||||
|
||||
if (config.generalEmulation.enableHWLighting != 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user