Beispiel #1
0
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;
}
Beispiel #3
0
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;
}