sna/traps: Fix the initialisation of the error term for vertical mono edges

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-03-08 18:07:22 +00:00
parent 635c604b78
commit 2e194f33db
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ polygon_add_line(struct polygon *polygon,
if (dx == 0) {
e->vertical = true;
e->x.quo = p1->x;
e->x.rem = 0;
e->x.rem = -dy;
e->dxdy.quo = 0;
e->dxdy.rem = 0;
} else {