mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Added 'drawcallsbatched' field to the table returned by love.graphics.getStats.
It has the number of draw calls that were saved by auto-batching. --HG-- branch : minor
This commit is contained in:
@@ -1010,6 +1010,7 @@ void Graphics::present(void *screenshotCallbackData)
|
||||
gl.stats.drawCalls = 0;
|
||||
gl.stats.shaderSwitches = 0;
|
||||
canvasSwitchCount = 0;
|
||||
drawCallsBatched = 0;
|
||||
}
|
||||
|
||||
void Graphics::setScissor(const Rect &rect)
|
||||
|
||||
Reference in New Issue
Block a user