From 8e9d64203428b344433ac8f86dc1f06d2c32529a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 14 Sep 2012 14:06:38 +0100 Subject: sna: Fix typo for sna_render_picture_flatten() Pass it the correct value for the pixmap height, and not its 'y' coordinate! Reported-by: Eugene Rosenzweig Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=434860 Signed-off-by: Chris Wilson --- src/sna/sna_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index 4493bf6d..58449228 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -1500,7 +1500,7 @@ sna_render_picture_fixup(struct sna *sna, DBG(("%s: alphamap\n", __FUNCTION__)); if (is_gpu(picture->pDrawable) || is_gpu(picture->alphaMap->pDrawable)) { return sna_render_picture_flatten(sna, picture, channel, - x, y, w, y, dst_x, dst_y); + x, y, w, h, dst_x, dst_y); } goto do_fixup; -- cgit v1.2.3