From patchwork Fri Dec 14 07:54:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/5] pixman: fix version check for PIXMAN_TYPE_BGRA Date: Thu, 13 Dec 2012 21:54:21 -0000 From: Gerd Hoffmann X-Patchwork-Id: 206368 Message-Id: <1355471665-23903-2-git-send-email-kraxel@redhat.com> To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- qemu-pixman.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-pixman.c b/qemu-pixman.c index e46e180..79e175b 100644 --- a/qemu-pixman.c +++ b/qemu-pixman.c @@ -21,7 +21,7 @@ int qemu_pixman_get_type(int rshift, int gshift, int bshift) if (rshift == 0) { type = PIXMAN_TYPE_ABGR; } else { -#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 21, 8) +#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 16, 0) type = PIXMAN_TYPE_BGRA; #endif }