Skip to content

Commit

Permalink
osu_paint: note about a strange jump made by cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
fmang committed Mar 25, 2018
1 parent 722a511 commit 5b198e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ui/osu_paint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ int osu_paint_slider(oshu::ui::osu &view, struct oshu_hit *hit)
return 0;
}

/**
* \todo
* It looks like cairo_fill with a pattern triggers jumps depending on
* uninitialised values, which propagates.
*/
static int paint_slider_ball(oshu::ui::osu &view) {
oshu_game *game = &view.game;
double radius = game->beatmap.difficulty.slider_tolerance;
Expand Down

0 comments on commit 5b198e1

Please sign in to comment.