Ogre crashes when Ogre.cfg is used
Posted: Sat Feb 19, 2005 10:04 pm
When I try to load my config from ogre.cfg instead of from the menu system I get this error:
OgreHardwareBufferManager.cpp:40: static Ogre::HardwareBufferManager& Ogre::HardwareBufferManager::getSingleton(): Assertion `ms_Singleton' failed.
I am sure the config is good, I used saveConfig to generate it.
I am using the following code in my configure() section:
if ( mRoot->restoreConfig() ){
return true;
}else{
return false;
}
OgreHardwareBufferManager.cpp:40: static Ogre::HardwareBufferManager& Ogre::HardwareBufferManager::getSingleton(): Assertion `ms_Singleton' failed.
I am sure the config is good, I used saveConfig to generate it.
I am using the following code in my configure() section:
if ( mRoot->restoreConfig() ){
return true;
}else{
return false;
}