flip for consistency
This commit is contained in:
@@ -413,8 +413,8 @@ void NoteDisplay::DrawHoldPart( vector<Sprite*> &vpSpr, int iCol, int fYStep, fl
|
|||||||
{
|
{
|
||||||
/* For very large hold notes, shift the texture coordinates to be near 0, so we
|
/* For very large hold notes, shift the texture coordinates to be near 0, so we
|
||||||
* don't send very large values to the renderer. */
|
* don't send very large values to the renderer. */
|
||||||
const float fDistFromBottom = fYBottom - fYStartPos;
|
const float fDistFromTop = fYStartPos - fYTop;
|
||||||
float fTexCoordTop = SCALE( fDistFromBottom, 0, fFrameHeight, pRect->bottom, pRect->top );
|
float fTexCoordTop = SCALE( fDistFromTop, 0, fFrameHeight, pRect->top, pRect->bottom );
|
||||||
fTexCoordTop += fAddToTexCoord;
|
fTexCoordTop += fAddToTexCoord;
|
||||||
fAddToTexCoord -= floorf( fTexCoordTop );
|
fAddToTexCoord -= floorf( fTexCoordTop );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user