ncannasse %!s(int64=7) %!d(string=hai) anos
pai
achega
d08a0f3da6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();