diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-25 12:40:01 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-25 12:40:01 +0100 |
commit | a53538659d5e18cb5a7a7a7dbd460f35985183fd (patch) | |
tree | 11179cb1551cc09ed98da5c7ed6a487c1f8f04b6 | |
parent | 960688d1684dd062c345aa8df1ff4f105015f467 (diff) |
sna/accel: Fix s/x/y/ typo in computing relative drawing coordinates
Reported-by:Roman Jarosz <kedgedev@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41165
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index aefb731b..55dd2cd9 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -1826,7 +1826,7 @@ sna_poly_point_blt(DrawablePtr drawable, pt++; if (mode == CoordModePrevious) { x += last.x; - y += last.x; + y += last.y; last.x = x; last.y = y; } else { @@ -1992,7 +1992,7 @@ sna_poly_line_blt(DrawablePtr drawable, pt++; if (mode == CoordModePrevious) { x += last.x; - y += last.x; + y += last.y; } else { x += drawable->x; y += drawable->y; |