World's worst sync;

This commit is contained in:
bjorn
2021-07-07 22:23:32 -07:00
parent 9ae529b325
commit dc5f68e709
+1
View File
@@ -472,6 +472,7 @@ void Graphics::setActive(bool enable)
void Graphics::dispatch(int x, int y, int z)
{
glDispatchCompute(x, y, z);
glMemoryBarrier(GL_ALL_BARRIER_BITS); // TODO: Improve synchronization
}
void Graphics::draw(const DrawCommand &cmd)