mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +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)
|
void Graphics::dispatch(int x, int y, int z)
|
||||||
{
|
{
|
||||||
glDispatchCompute(x, y, z);
|
glDispatchCompute(x, y, z);
|
||||||
|
glMemoryBarrier(GL_ALL_BARRIER_BITS); // TODO: Improve synchronization
|
||||||
}
|
}
|
||||||
|
|
||||||
void Graphics::draw(const DrawCommand &cmd)
|
void Graphics::draw(const DrawCommand &cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user