mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-17 10:54:35 +08:00
fix
This commit is contained in:
parent
f7e9c9e055
commit
08eb19c0f1
@ -65,7 +65,7 @@ namespace DCFApixels.DragonECS
|
||||
#endif
|
||||
_isRunning = true;
|
||||
_worker = worker;
|
||||
int entitiesCount = entities.Length; //entities.Bake(ref _entities);
|
||||
int entitiesCount = entities.Bake(ref _entities);
|
||||
|
||||
int threadsCount = entitiesCount / minSpanSize;
|
||||
if (entitiesCount % minSpanSize > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user