diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index 385d4aec4..7f4c5e0c1 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -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)