summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-25 14:02:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-25 14:04:37 +0100
commit3833ff967766b0b99f1d636c6453de1783a90586 (patch)
treecadc2916edb4c07712fd395d83ff6b34bd0b188f
parent471115a9806162bf0cafe27947f49d94fdd63d87 (diff)
sna: Correct typo in computing damage of PolyPoint
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38614 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 37f8fb0a..8e8202a7 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1741,7 +1741,7 @@ sna_poly_point_blt(DrawablePtr drawable,
BoxRec box;
box.x1 = x + dx;
- box.y1 = x + dx;
+ box.y1 = y + dy;
box.x2 = box.x1 + 1;
box.y2 = box.y1 + 1;