Explorar o código

js bugfix (close #1159)

Nicolas Cannasse %!s(int64=2) %!d(string=hai) anos
pai
achega
2d0afff0f0
Modificáronse 1 ficheiros con 1 adicións e 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 ) {