mirror of
				https://github.com/potato47/ccc-devtools.git
				synced 2025-10-31 03:15:50 +00:00 
			
		
		
		
	Merge pull request #7 from lihuilai/master
修复CocosCreator1.8.2版本Drawcall显示为NaN的问题
This commit is contained in:
		| @@ -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; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user