소스 검색

js bugfix (close #1159)

Nicolas Cannasse 2 년 전
부모
커밋
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 ) {