aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/scripts/graphics/graphics.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-31 17:40:57 +0800
committerchai <chaifix@163.com>2018-12-31 17:40:57 +0800
commit5a0a427a030885ed337c60a903b6bdf8f61bf712 (patch)
tree61f904ddd89c4776d0769e63be95dfa6d14eca1a /src/libjin-lua/scripts/graphics/graphics.lua
parent880f7908a9cb2e3e4dde0874ece86b9c7ffc9963 (diff)
*misc
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