소스 검색

fixed js mesh batch

Nicolas Cannasse 6 년 전
부모
커밋
1babeeef96
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      hxsl/Cache.hx

+ 1 - 0
hxsl/Cache.hx

@@ -532,6 +532,7 @@ class Cache {
 		};
 		s.data.funs.push(f);
 		s.consts = new SharedShader.ShaderConst(vcount,0,countBits);
+		s.consts.globalId = 0;
 
 		return s;
 	}