mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-28 12:20:39 +02:00
[perf] Fix the asymmetry in long lines
We missed the final long diagonal to the bottom-right.
This commit is contained in:
parent
944206e55b
commit
2f033af5ab
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ do_long_lines (cairo_t *cr, int width, int height, long_lines_crop_t crop)
|
|||
|
||||
cairo_perf_timer_start ();
|
||||
|
||||
for (i = 0; i < NUM_LINES; i++) {
|
||||
for (i = 0; i <= NUM_LINES; i++) {
|
||||
cairo_move_to (cr, 0, 0);
|
||||
cairo_line_to (cr, x, min_y);
|
||||
cairo_stroke (cr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue