don't offset non-wrapped parts

This commit is contained in:
Glenn Maynard
2007-01-06 08:30:50 +00:00
parent 05e69b4b83
commit db7bb23676
+1
View File
@@ -427,6 +427,7 @@ void NoteDisplay::DrawHoldPart( vector<Sprite*> &vpSpr, int iCol, int fYStep, fl
* don't send very large values to the renderer. */ * don't send very large values to the renderer. */
if( fY == fYStartPos ) // first if( fY == fYStartPos ) // first
fVertTexCoordOffset = floorf( fTexCoordTop ); fVertTexCoordOffset = floorf( fTexCoordTop );
if( bWrapping )
fTexCoordTop -= fVertTexCoordOffset; fTexCoordTop -= fVertTexCoordOffset;
const float fTexCoordLeft = pRect->left; const float fTexCoordLeft = pRect->left;
const float fTexCoordRight = pRect->right; const float fTexCoordRight = pRect->right;