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:
parent
635c604b78
commit
2e194f33db
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue