silence warnings

This commit is contained in:
AJ Kelly
2011-05-20 01:06:48 -05:00
parent 27a6ebd187
commit 38246f7fea
-6
View File
@@ -855,9 +855,6 @@ void Sprite::ScaleToClipped( float fWidth, float fHeight )
float fScaleFudgePercent = 0.15f; // scale up to this amount in one dimension to avoid clipping.
int iSourceWidth = m_pTexture->GetSourceWidth();
int iSourceHeight = m_pTexture->GetSourceHeight();
// save the original X and Y. We're going to restore them later.
float fOriginalX = GetX();
float fOriginalY = GetY();
@@ -919,9 +916,6 @@ void Sprite::CropTo( float fWidth, float fHeight )
if( !m_pTexture )
return;
int iSourceWidth = m_pTexture->GetSourceWidth();
int iSourceHeight = m_pTexture->GetSourceHeight();
// save the original X&Y. We're going to restore them later.
float fOriginalX = GetX();
float fOriginalY = GetY();