Parcourir la source

fixed js mesh batch

Nicolas Cannasse il y a 6 ans
Parent
commit
1babeeef96
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
 	}