diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index 51e00a8d8..3f4450b04 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -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); }