move texture load policy into RageTextureID, so it can be set to volatile consistently
for banners/backgrounds
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user