aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/scripts/graphics/graphics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin-lua/scripts/graphics/graphics.lua')
-rw-r--r--src/libjin-lua/scripts/graphics/graphics.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libjin-lua/scripts/graphics/graphics.lua b/src/libjin-lua/scripts/graphics/graphics.lua
index 70272ca..ae896d0 100644
--- a/src/libjin-lua/scripts/graphics/graphics.lua
+++ b/src/libjin-lua/scripts/graphics/graphics.lua
@@ -167,15 +167,3 @@ jg.reset = function()
jg.unsetFont()
jg.unuseShader()
end
-
-jg.getStatsStr = function()
- local stats = jin.graphics.getStats()
- local str = "draw call: " .. stats.drawCalls .. '\n'
- .. "canvas switches: " .. stats.canvasSwitches .. '\n'
- .. "shader switches: " .. stats.shaderSwitches .. '\n'
- .. "font switches: " .. stats.fontSwitches .. '\n'
- .. "textures: " .. stats.textures .. '\n'
- .. "canvases: " .. stats.canvases .. '\n'
- .. "fonts: " .. stats.fonts
- return str
-end \ No newline at end of file