Added an option to disable the Pool allocation in Config.ini, in case there is a mess with the MemoryPool.
This commit is contained in:
@@ -16,6 +16,7 @@ Game::Game(int argc, char* argv[])
|
||||
|
||||
m_Config = ResourceManager::Load<ConfigFile>("Config.ini");
|
||||
ResourceManager::UseThreading = m_Config->Get<bool>("Multithreading.ResourceLoading", true);
|
||||
DisableMemoryPool::Value = m_Config->Get<bool>("Debug.DisableMemoryPool", false);
|
||||
LOG_LEVEL = static_cast<_LOG_LEVEL>(m_Config->Get<int>("Debug.LogLevel", 1));
|
||||
|
||||
// Create the core event broker
|
||||
|
||||
Reference in New Issue
Block a user