Selaa lähdekoodia

fixed js mesh batch

Nicolas Cannasse 6 vuotta sitten
vanhempi
commit
1babeeef96
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;
 	}