ncannasse 8 years ago
parent
commit
fa17dc6ce0
1 changed files with 1 additions and 1 deletions
  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;