move texture load policy into RageTextureID, so it can be set to volatile consistently

for banners/backgrounds
This commit is contained in:
Glenn Maynard
2004-03-26 10:15:18 +00:00
parent 1d92cd087f
commit d5098c84ce
9 changed files with 34 additions and 17 deletions
+2 -2
View File
@@ -320,8 +320,8 @@ void Background::LoadFromSong( const Song* pSong )
/* Song backgrounds (even just background stills) can get very big; never keep them
* in memory. */
RageTexture::TexPolicy OldPolicy = TEXTUREMAN->GetDefaultTexturePolicy();
TEXTUREMAN->SetDefaultTexturePolicy( RageTexture::TEX_VOLATILE );
RageTextureID::TexPolicy OldPolicy = TEXTUREMAN->GetDefaultTexturePolicy();
TEXTUREMAN->SetDefaultTexturePolicy( RageTextureID::TEX_VOLATILE );
TEXTUREMAN->DisableOddDimensionWarning();