use getPrimitiveCount method on FilamentApp, rather than direct FFI method
This commit is contained in:
1 parent
f78c6f258f
commit
0461bb364a
1 file changed
+4
-2
@@ -1064,8 +1064,10 @@ class FFIAsset extends ThermionAsset {
|
||||
}
|
||||
}
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
Future<int> getPrimitiveCount({ThermionEntity? entity}) async {
|
||||
entity ??= this.entity;
|
||||
return RenderableManager_getPrimitiveCount(app.renderableManager, entity);
|
||||
return FilamentApp.instance!.getPrimitiveCount(entity ??= this.entity);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user