void CEGuiSample::cleanup()
{
cleanupSample();
if (d_sampleApp)
{
d_sampleApp->cleanup();
delete d_sampleApp;
d_sampleApp = 0;
}
if (d_rendererSelector)
{
delete d_rendererSelector;
d_rendererSelector = 0;
}
}
cleanupSample() is never called
Moderators: CEGUI MVP, CEGUI Team
cleanupSample() is never called
I had placed code there to save the positions of my windows/dialogs but it was never called. I "fixed" it by adding the call to cleanupSample() within CEGuiSample::cleanup():
Who is online
Users browsing this forum: No registered users and 33 guests