Sdk/World: Optimize updating dirty entities by removing a branch
This commit is contained in:
@@ -253,9 +253,6 @@ namespace Ndk
|
||||
Update(); //< Update entities
|
||||
|
||||
// And then update systems
|
||||
if (!m_orderedSystemsUpdated)
|
||||
ReorderSystems();
|
||||
|
||||
for (auto& systemPtr : m_orderedSystems)
|
||||
systemPtr->Update(elapsedTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user