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;
}
Ogre crashes when Ogre.cfg is used
-
waxor
- Gnoblar
- Posts: 7
- Joined: Wed Mar 17, 2004 5:49 pm
- Contact:
- DWORD
- OGRE Retired Moderator

- Posts: 1365
- Joined: Tue Sep 07, 2004 12:43 pm
- Location: Aalborg, Denmark
- Contact:
Looks like you are using something alike ExampleApplication. Did you forget
in there?
Code: Select all
mWindow = mRoot->initialise(true);-
waxor
- Gnoblar
- Posts: 7
- Joined: Wed Mar 17, 2004 5:49 pm
- Contact: