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