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:
William Moberg
2016-01-18 10:16:35 +01:00
parent d28583ca9e
commit a346a329b3
4 changed files with 23 additions and 5 deletions
+1
View File
@@ -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