Search found 3 matches
- Wed Oct 12, 2011 15:50
- Forum: Help
- Topic: Crash inside CEGUI::System::destroy()
- Replies: 27
- Views: 21865
Re: Crash inside CEGUI::System::destroy()
You should be resetting your CEGUI before destroying it! i.e. void CALLBACK OnDeviceDestroy(void *pUserContext) { ResetGUI(); CEGUI::Direct3D11Renderer *renderer = (CEGUI::Direct3D11Renderer*)CEGUI::System::getSingleton().getRenderer(); renderer->destroySystem(); } // Define YourLayoutContainer with...
- Thu Oct 06, 2011 20:39
- Forum: Help
- Topic: Crash inside CEGUI::System::destroy()
- Replies: 27
- Views: 21865
Re: Crash inside CEGUI::System::destroy()
On your destroy call, do this:
myRenderer should be the renderer you declared in your header file along with a reset:
Code: Select all
CEGUI::System::getSingleton().destroy();
delete myRenderer;
myRenderer should be the renderer you declared in your header file along with a reset:
Code: Select all
protected:
CEGUI::Renderer* myRenderer;
- Wed Oct 05, 2011 15:42
- Forum: Help
- Topic: [Solved] Breaking on SubscribeEvent
- Replies: 0
- Views: 3008
[Solved] Breaking on SubscribeEvent
I'm restarting an old project of mine...but I'm having some problems and I'm a bit rusty (this is an older version of CEGUI, want it to at least work before converting to a newer version) and yes, I've tried searching for a similar issue but nothing worked as suggested! Unhandled exception at 0x0125...