From 9ae529b325145efb25de8984c9cac701c7955450 Mon Sep 17 00:00:00 2001 From: bjorn Date: Wed, 7 Jul 2021 20:29:21 -0700 Subject: [PATCH] Flush batched draws before dispatching compute; --- src/modules/graphics/Graphics.cpp | 1 + 1 file changed, 1 insertion(+) 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); }