ncannasse 7 yıl önce
ebeveyn
işleme
d08a0f3da6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 s = currentStats;
 		while( s != null ) {
-			if( colors.length < count ) {
+			if( colors.length <= count ) {
 				var color = new h3d.Vector();
 				var m = new h3d.Matrix();
 				m.identity();