ncannasse 7 年之前
父節點
當前提交
d08a0f3da6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/impl/Benchmark.hx

+ 1 - 1
h3d/impl/Benchmark.hx

@@ -271,7 +271,7 @@ class Benchmark extends h2d.Graphics {
 		var curTime = 0.;
 		var curTime = 0.;
 		var s = currentStats;
 		var s = currentStats;
 		while( s != null ) {
 		while( s != null ) {
-			if( colors.length < count ) {
+			if( colors.length <= count ) {
 				var color = new h3d.Vector();
 				var color = new h3d.Vector();
 				var m = new h3d.Matrix();
 				var m = new h3d.Matrix();
 				m.identity();
 				m.identity();