瀏覽代碼

fix for haxe 4.0

Nicolas Cannasse 4 年之前
父節點
當前提交
ee2c3b52e5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 cur = batchShaders;
 			while( cur != null ) {
-				if( Std.isOfType(cur.s, MeshBatchAccess) ) {
+				if( hxd.impl.Api.isOfType(cur.s, MeshBatchAccess) ) {
 					var access : MeshBatchAccess = cast cur.s;
 					if( !access.perInstance ) {
 						if( prev != null )