Unload and reload CEGUI
Posted: Wed May 17, 2006 13:20
I need to unload CEGUI completley and reload it at a later stage in my application. But when I load it the second time it crashes at this:
I think I unload everything correctly by destrying windows, the OGRE scenemanager and unloading the schemes.
How should I unload and reload CEGUI?
Code: Select all
CEGUI::SchemeManager::getSingletonPtr()->loadScheme((CEGUI::utf8*)"TaharezLook.scheme");
I think I unload everything correctly by destrying windows, the OGRE scenemanager and unloading the schemes.
How should I unload and reload CEGUI?