Merge remote-tracking branch 'origin/fix_hold/0609' into fix_hold/0609
Conflicts: src/NoteDisplay.cpp
This commit is contained in:
+2
-2
@@ -792,8 +792,8 @@ void NoteDisplay::DrawHoldPart(vector<Sprite*> &vpSpr,
|
||||
{
|
||||
/* For very large hold notes, shift the texture coordinates to be near 0, so we
|
||||
* don't send very large values to the renderer. */
|
||||
const float fDistFromTop = y_start_pos - part_args.y_top;
|
||||
float fTexCoordTop = SCALE(fDistFromTop, 0, unzoomed_frame_height, rect.top, rect.bottom);
|
||||
const float fDistFromTop = y_start_pos - part_args.y_top;
|
||||
float fTexCoordTop = SCALE(fDistFromTop, 0, unzoomed_frame_height, rect.top, rect.bottom);
|
||||
fTexCoordTop += add_to_tex_coord;
|
||||
add_to_tex_coord -= floorf(fTexCoordTop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user