don't access the low-level texture unnecessarily

This commit is contained in:
Glenn Maynard
2007-02-13 06:46:24 +00:00
parent e9a04f81b3
commit bf6327ad00
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ void Banner::Update( float fDeltaTime )
m_fPercentScrolling += fDeltaTime/2;
m_fPercentScrolling -= (int)m_fPercentScrolling;
const RectF *pTextureRect = GetTexture()->GetTextureCoordRect(0);
const RectF *pTextureRect = GetCurrentTextureCoordRect();
float fTexCoords[8] =
{