make hot pinking a texture hint

(it makes SDL take slow code paths and makes us do
conversions we oftne don't need to)
This commit is contained in:
Glenn Maynard
2003-01-22 04:15:43 +00:00
parent 4914fa6f9e
commit 4432b01dd8
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@ void RageTextureID::Init()
bDither = false;
bStretch = false;
iColorDepth = TEXTUREMAN->GetTextureColorDepth();
bHotPinkColorKey = false;
}
bool RageTextureID::equal(const RageTextureID &rhs) const
@@ -33,6 +34,7 @@ bool RageTextureID::equal(const RageTextureID &rhs) const
if(iColorDepth != rhs.iColorDepth) return false;
if(bDither != rhs.bDither) return false;
if(bStretch != rhs.bStretch) return false;
if(bHotPinkColorKey != rhs.bHotPinkColorKey) return false;
return true;
}