Add missing Sprite::SetCroppedSize to make it compile again.
This commit is contained in:
@@ -489,6 +489,11 @@ void Sprite::StopUsingCustomCoords()
|
||||
m_bUsingCustomTexCoords = false;
|
||||
}
|
||||
|
||||
void Sprite::SetCroppedSize( float fWidth, float fHeight )
|
||||
{
|
||||
m_fRememberedClipWidth = fWidth;
|
||||
m_fRememberedClipHeight = fHeight;
|
||||
}
|
||||
|
||||
void Sprite::ScaleToClipped( float fWidth, float fHeight )
|
||||
{
|
||||
@@ -592,4 +597,3 @@ bool Sprite::IsDiagonalBanner( int iWidth, int iHeight )
|
||||
/* A diagonal banner is a square. Give a couple pixels of leeway. */
|
||||
return iWidth >= 100 && abs(iWidth - iHeight) < 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user