void ProcGame::Release() { EntityMgr.Reset(true); // should I need to clear all texture here? IVideoDriver* pDriver = IrrDvc.GetDriver(); pDriver->removeAllTextures(); }
bool ProcGameIntro::OnExit(IrrlichtDevice& device) { EntityMgr.Reset(true); // should I need to clear all texture here? IVideoDriver* pDriver = IrrDvc.GetDriver(); pDriver->removeAllTextures(); return true; }
bool ProcTitle::OnExit(irr::IrrlichtDevice& device) { IGUIEnvironment* env = device.getGUIEnvironment(); env->clear(); // should I need to clear all texture here? IVideoDriver* pDriver = IrrDvc.GetDriver(); pDriver->removeAllTextures(); return true; }