This commit is contained in:
Glenn Maynard
2005-01-01 22:10:09 +00:00
parent 59ae043f2b
commit 4b69f947dd
+2 -2
View File
@@ -191,7 +191,7 @@ void BitmapText::BuildChars()
void BitmapText::DrawChars() void BitmapText::DrawChars()
{ {
// bail if cropped all the way // bail if cropped all the way
if( m_pTempState->crop.left + m_pTempState->crop.right >= 1 || if( m_pTempState->crop.left + m_pTempState->crop.right >= 1 ||
m_pTempState->crop.top + m_pTempState->crop.bottom >= 1 ) m_pTempState->crop.top + m_pTempState->crop.bottom >= 1 )
return; return;
@@ -206,7 +206,7 @@ void BitmapText::DrawChars()
m_pTempState->fade.left > 0 || m_pTempState->fade.left > 0 ||
m_pTempState->fade.right > 0 ) m_pTempState->fade.right > 0 )
{ {
/* Handle fading by tweaking the alpha values of the verteces. */ /* Handle fading by tweaking the alpha values of the vertices. */
/* Actual size of the fade on each side: */ /* Actual size of the fade on each side: */
const RectF &FadeDist = m_pTempState->fade; const RectF &FadeDist = m_pTempState->fade;