diff --git a/UPNG.js b/UPNG.js index 65aff3e..ce5fe2c 100644 --- a/UPNG.js +++ b/UPNG.js @@ -998,7 +998,7 @@ UPNG.quantize.estats = function(stats){ ]; var A = Rj, M = UPNG.M4; - var b = [0.5,0.5,0.5,0.5], mi = 0, tmi = 0; + var b = [Math.random(),Math.random(),Math.random(),Math.random()], mi = 0, tmi = 0; if(N!=0) for(var i=0; i<16; i++) {