Nicolas Cannasse 2 лет назад
Родитель
Сommit
2d0afff0f0
1 измененных файлов с 1 добавлено и 1 удалено
  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 ) {