love.graphics.dispatchThreadgroups;

This commit is contained in:
bjorn
2021-06-04 22:11:21 -06:00
committed by bjorn
parent 085ba2cb6e
commit 25fbf1d8ce
5 changed files with 42 additions and 0 deletions
+5
View File
@@ -469,6 +469,11 @@ void Graphics::setActive(bool enable)
active = enable;
}
void Graphics::dispatch(int x, int y, int z)
{
glDispatchCompute(x, y, z);
}
void Graphics::draw(const DrawCommand &cmd)
{
gl.prepareDraw(this);