diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-14 14:06:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-14 14:06:38 +0100 |
commit | 8e9d64203428b344433ac8f86dc1f06d2c32529a (patch) | |
tree | 055496b095badb0152d923fa4806a6aeab811c95 /src/sna/sna_render.c | |
parent | 6ee9969f0e99975a24e113af9591909d9023d8af (diff) |
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 (limited to 'src/sna/sna_render.c')
-rw-r--r-- | src/sna/sna_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |