summaryrefslogtreecommitdiff
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-14 13:06:38 (GMT)
committer Chris Wilson <chris@chris-wilson.co.uk>2012-09-14 13:06:38 (GMT)
commit8e9d64203428b344433ac8f86dc1f06d2c32529a (patch) (side-by-side diff)
tree055496b095badb0152d923fa4806a6aeab811c95
parent6ee9969f0e99975a24e113af9591909d9023d8af (diff)
downloadxf86-video-intel-8e9d64203428b344433ac8f86dc1f06d2c32529a.zip
xf86-video-intel-8e9d64203428b344433ac8f86dc1f06d2c32529a.tar.gz
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 <ugn@outlook.com> Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=434860 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/sna/sna_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c
index 4493bf6..5844922 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;