Explorar o código

fix for haxe 4.0

Nicolas Cannasse %!s(int64=4) %!d(string=hai) anos
pai
achega
ee2c3b52e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h3d/scene/MeshBatch.hx

+ 1 - 1
h3d/scene/MeshBatch.hx

@@ -102,7 +102,7 @@ class MeshBatch extends Mesh {
 			var prev = null;
 			var prev = null;
 			var cur = batchShaders;
 			var cur = batchShaders;
 			while( cur != null ) {
 			while( cur != null ) {
-				if( Std.isOfType(cur.s, MeshBatchAccess) ) {
+				if( hxd.impl.Api.isOfType(cur.s, MeshBatchAccess) ) {
 					var access : MeshBatchAccess = cast cur.s;
 					var access : MeshBatchAccess = cast cur.s;
 					if( !access.perInstance ) {
 					if( !access.perInstance ) {
 						if( prev != null ) 
 						if( prev != null )