瀏覽代碼

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;
 	}