summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-14 17:45:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-14 17:45:41 +0100
commit3565c48c4bb77c836d817de75d098791dbb529d3 (patch)
tree7ab343dfbe5da6921bbad6644a180da62404b3f3
parent4d4aca21fd32a367d78dfaf1c23b4faeabe36428 (diff)
sna: Yet another s/x/y/ typo
Every time I do a transformation into pixmap space I like to include one of these copy'n'paste errors. Reported-by: Paul Neumann <paul104x@yahoo.de> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40850 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 aa12ec57..c6aac0e8 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1042,7 +1042,7 @@ sna_put_image_blt(DrawablePtr drawable, GCPtr gc, RegionPtr region,
get_drawable_deltas(drawable, pixmap, &dx, &dy);
x += dx + drawable->x;
- y += dx + drawable->y;
+ y += dy + drawable->y;
DBG(("%s: upload(%d, %d, %d, %d)\n", __FUNCTION__, x, y, w, h));