mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
World's worst sync;
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user