From 3565c48c4bb77c836d817de75d098791dbb529d3 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 14 Sep 2011 17:45:41 +0100 Subject: [PATCH] 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 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40850 Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));