Renamed GUIEngine::free() to GUIEngine::cleanUp(), which allows
the usage of the VS memory debugger (which redefines free using a macro). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
043c4c0671
commit
9b38b69057
@ -165,7 +165,7 @@ void IrrDriver::changeResolution()
|
||||
item_manager -> removeTextures();
|
||||
kart_properties_manager -> removeTextures();
|
||||
powerup_manager -> removeTextures();
|
||||
GUIEngine::free();
|
||||
GUIEngine::cleanUp();
|
||||
|
||||
m_device->closeDevice();
|
||||
m_device->drop();
|
||||
|
@ -139,7 +139,7 @@ Screen* getCurrentScreen()
|
||||
return g_current_screen;
|
||||
}
|
||||
// -----------------------------------------------------------------------------
|
||||
void free()
|
||||
void cleanUp()
|
||||
{
|
||||
if(g_skin != NULL) delete g_skin;
|
||||
g_skin = NULL;
|
||||
|
@ -184,7 +184,7 @@ namespace GUIEngine
|
||||
float getLatestDt();
|
||||
|
||||
void init(irr::IrrlichtDevice* device, irr::video::IVideoDriver* driver, void (*eventCallback)(Widget* widget, std::string& name) );
|
||||
void free();
|
||||
void cleanUp();
|
||||
void switchToScreen(const char* );
|
||||
void clear();
|
||||
void cleanForGame();
|
||||
|
Loading…
Reference in New Issue
Block a user