diff --git a/libs/stats/Stats.js b/libs/stats/Stats.js index 4faee39..0a734df 100644 --- a/libs/stats/Stats.js +++ b/libs/stats/Stats.js @@ -34,7 +34,7 @@ var Stats = function () { function getDrawcalls() { if (window.cc) { - return cc.renderer.drawCalls; + return cc.g_NumberOfDraws || cc.renderer.drawCalls; } else { return Infinity; }