Make texture policies explicit.

Never keep banner textures loaded.  We'll be using enough memory with
the preloads, and it's not needed.
This commit is contained in:
Glenn Maynard
2003-06-10 19:24:00 +00:00
parent 8d06cc4069
commit 48770fb2a0
5 changed files with 91 additions and 23 deletions
+2
View File
@@ -83,6 +83,8 @@ RageTexture::RageTexture( RageTextureID name ):
// LOG->Trace( "RageTexture::RageTexture()" );
m_iRefCount = 1;
m_Policy = TEX_DEFAULT;
m_bWasUsed = false;
// SetActualID();
m_iSourceWidth = m_iSourceHeight = 0;