diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-01-07 13:53:27 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-01-07 13:53:27 +0000 |
commit | 9bbbcc2f42ea3dd46661ef06d82c2a1b0f6bbe8c (patch) | |
tree | 283b064209229cf13bfafe7a5db8c7aaccf5c643 /src/sna/sna_trapezoids_imprecise.c | |
parent | 7b7f71a7d522f430e09f02d71eca24474408dc55 (diff) |
sna/trapezoids: Fix typo in construction of polygon lines
Fixes regression from a missed replacement in:
commit 191c6b6ca7b3d2a1040c2633929845117ba1f1af [2.99.917]
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sun Oct 5 09:05:20 2014 +0100
sna/trapezoids: Improve sample locations for imprecise rasterisation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids_imprecise.c')
-rw-r--r-- | src/sna/sna_trapezoids_imprecise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids_imprecise.c b/src/sna/sna_trapezoids_imprecise.c index 37def2f9..92db92d4 100644 --- a/src/sna/sna_trapezoids_imprecise.c +++ b/src/sna/sna_trapezoids_imprecise.c @@ -3874,7 +3874,7 @@ imprecise_tristrip_span_converter(struct sna *sna, break; } while (1); polygon_add_line(tor.polygon, - &points[cw], &points[2+ccw], + &points[cw], &points[ccw], dx, dy); assert(tor.polygon->num_edges <= 2*count); |