remove unused

This commit is contained in:
Glenn Maynard
2007-02-13 04:59:18 +00:00
parent ebb7189b88
commit 2f18e94d49
-10
View File
@@ -538,16 +538,6 @@ void Sprite::DrawTexture( const TweenState *state )
}
}
/* XXX: move to RageTypes.cpp */
RageColor scale( float x, float l1, float h1, const RageColor &a, const RageColor &b )
{
return RageColor(
SCALE( x, l1, h1, a.r, b.r ),
SCALE( x, l1, h1, a.g, b.g ),
SCALE( x, l1, h1, a.b, b.b ),
SCALE( x, l1, h1, a.a, b.a ) );
}
bool Sprite::EarlyAbortDraw() const
{
return m_pTexture == NULL && !m_bDrawIfTextureNull;