Explorar o código

fixed js mesh batch

Nicolas Cannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
1babeeef96
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 	}