Code: Select all
m_pTimer = new Ogre::Timer();
m_pTimer->reset();
/*
m_pGUIRenderer = new CEGUI::OgreCEGUIRenderer(m_pRenderWnd, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, 0);
m_pGUISystem = new CEGUI::System(m_pGUIRenderer);
*/
[i]>>> (breakpoint)[/i] m_pGUIRenderer = &CEGUI::OgreRenderer::bootstrapSystem(*m_pRenderWnd);
m_pGUISystem = CEGUI::System::getSingletonPtr();
CEGUI::SchemeManager::getSingleton().create((CEGUI::utf8*)"TaharezLookSkin.scheme");
CEGUI::WindowManager::getSingleton().loadWindowLayout((CEGUI::utf8*)"AdvancedOgreFramework.layout");
CEGUI::WindowManager::getSingleton().loadWindowLayout((CEGUI::utf8*)"AdvancedOgreFramework_Game.layout");
It auto breaks here
Code: Select all
DemoApp::~DemoApp()
{
delete OgreFramework::getSingletonPtr();
[i]>>>(autobreak)[/i] delete m_pAppStateManager;
}
Any clue as to what might be wrong?