mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Flush batched draws before dispatching compute;
This commit is contained in:
@@ -1093,6 +1093,7 @@ void Graphics::dispatchThreadgroups(Shader* shader, int x, int y, int z)
|
||||
throw love::Exception("Too many threadgroups dispatched.");
|
||||
}
|
||||
|
||||
flushBatchedDraws();
|
||||
shader->attach();
|
||||
dispatch(x, y, z);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user