ncannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
fa17dc6ce0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h3d/impl/Benchmark.hx

+ 1 - 1
h3d/impl/Benchmark.hx

@@ -150,7 +150,7 @@ class Benchmark extends h2d.Graphics {
 	}
 
 	function syncTip(s:StatsObject) {
-		tip.text = s.name+"( " + Std.int(s.time / 1e6) + "." + StringTools.lpad(""+(Std.int(s.time/1e5)%100),"0",2) + " ms " + s.drawCalls + " draws )";
+		tip.text = s.name+"( " + Std.int(s.time / 1e6) + "." + StringTools.lpad(""+(Std.int(s.time/1e4)%100),"0",2) + " ms " + s.drawCalls + " draws )";
 		var tw = tip.textWidth;
 		var tx = s.xPos + ((s.xSize - tw) >> 1);
 		if( tx + tw > curWidth ) tx = curWidth - tw;