Explorar el Código

js bugfix (close #1159)

Nicolas Cannasse hace 2 años
padre
commit
2d0afff0f0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hxd/BufferFormat.hx

+ 1 - 1
hxd/BufferFormat.hx

@@ -118,7 +118,7 @@ class BufferFormat {
 
 	function new( inputs : Array<BufferInput> ) {
 		uid = _UID++;
-		stride = 0;
+		stride = strideBytes = 0;
 		this.inputs = inputs.copy();
 		hasLowPrecision = false;
 		for( i in inputs ) {