Browse Source

fixed js mesh batch

Nicolas Cannasse 6 năm trước cách đây
mục cha
commit
1babeeef96
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
 	}