From db4c2f3cb3b69e57d11a049abfb0e496a714e6d6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 15 Sep 2003 19:57:27 +0000 Subject: [PATCH] Minor lyric quality tweak --- stepmania/src/LyricDisplay.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/LyricDisplay.cpp b/stepmania/src/LyricDisplay.cpp index 89c769a7b3..30b2a2992b 100644 --- a/stepmania/src/LyricDisplay.cpp +++ b/stepmania/src/LyricDisplay.cpp @@ -105,10 +105,16 @@ void LyricDisplay::Update( float fDeltaTime ) } m_textLyrics[i].SetDiffuse(color); + /* Crop the bottom layer of text away as we crop the top layer on. That + * prevents overdraw, which reduces AA quality. */ + if( i==0 ) + m_textLyrics[i].SetCropLeft(0); if( i==1 ) m_textLyrics[i].SetCropRight(1); m_textLyrics[i].Command(IN_COMMAND); m_textLyrics[i].BeginTweening( fShowLength * 0.75f ); /* sleep */ + if( i==0 ) + m_textLyrics[i].SetCropLeft(1); if( i==1 ) m_textLyrics[i].SetCropRight(0); m_textLyrics[i].BeginTweening( fShowLength * 0.25f ); /* sleep */