mirror of
https://github.com/love2d/love.git
synced 2026-08-20 12:40:20 +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.");
|
throw love::Exception("Too many threadgroups dispatched.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flushBatchedDraws();
|
||||||
shader->attach();
|
shader->attach();
|
||||||
dispatch(x, y, z);
|
dispatch(x, y, z);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user