Removed uses of TEXTUREMAN inside TextureManager member functions.
This commit is contained in:
@@ -272,7 +272,7 @@ void RageTextureManager::GarbageCollect( GCType type )
|
|||||||
|
|
||||||
void RageTextureManager::ReloadAll()
|
void RageTextureManager::ReloadAll()
|
||||||
{
|
{
|
||||||
TEXTUREMAN->DisableOddDimensionWarning();
|
DisableOddDimensionWarning();
|
||||||
|
|
||||||
/* Let's get rid of all unreferenced textures, so we don't reload a
|
/* Let's get rid of all unreferenced textures, so we don't reload a
|
||||||
* ton of cached data that we're not necessarily going to use. */
|
* ton of cached data that we're not necessarily going to use. */
|
||||||
@@ -283,7 +283,7 @@ void RageTextureManager::ReloadAll()
|
|||||||
i->second->Reload();
|
i->second->Reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEXTUREMAN->EnableOddDimensionWarning();
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user