summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-07-30 09:42:31 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-07-31 09:43:12 +0100
commit2f033af5ab15dc56675c42434bb1c18655012b03 (patch)
treeb1b347ac0312629a168ae892d5da40ec0b93f322 /perf
parent944206e55ba997a4a55334be3c7ebf8141016be7 (diff)
[perf] Fix the asymmetry in long lines
We missed the final long diagonal to the bottom-right.
Diffstat (limited to 'perf')
-rw-r--r--perf/long-lines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/long-lines.c b/perf/long-lines.c
index 3a574185..2b1192b3 100644
--- a/perf/long-lines.c
+++ b/perf/long-lines.c
@@ -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);