don't display warning when reloading

This commit is contained in:
Glenn Maynard
2003-07-10 02:00:48 +00:00
parent 16b0cd24ec
commit 683ff38ab7
+4
View File
@@ -275,11 +275,15 @@ void RageTextureManager::GarbageCollect( GCType type )
void RageTextureManager::ReloadAll() void RageTextureManager::ReloadAll()
{ {
TEXTUREMAN->DisableOddDimensionWarning();
for( std::map<RageTextureID, RageTexture*>::iterator i = m_mapPathToTexture.begin(); for( std::map<RageTextureID, RageTexture*>::iterator i = m_mapPathToTexture.begin();
i != m_mapPathToTexture.end(); ++i) i != m_mapPathToTexture.end(); ++i)
{ {
i->second->Reload(); i->second->Reload();
} }
TEXTUREMAN->EnableOddDimensionWarning();
} }
/* In some cases, changing the display mode will reset the rendering context, /* In some cases, changing the display mode will reset the rendering context,