Răsfoiți Sursa

fixed js mesh batch

Nicolas Cannasse 6 ani în urmă
părinte
comite
1babeeef96
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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;
 	}