[perf] Fix the asymmetry in long lines

We missed the final long diagonal to the bottom-right.
This commit is contained in:
Chris Wilson 2009-07-30 09:42:31 +01:00
parent 944206e55b
commit 2f033af5ab

View file

@ -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);