diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-14 17:45:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-14 17:45:41 +0100 |
commit | 3565c48c4bb77c836d817de75d098791dbb529d3 (patch) | |
tree | 7ab343dfbe5da6921bbad6644a180da62404b3f3 | |
parent | 4d4aca21fd32a367d78dfaf1c23b4faeabe36428 (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.c | 2 |
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)); |