From fbddfc727bde692f009a269e8e628d8c152b537b Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 14 Dec 2012 08:54:21 +0100 Subject: [PATCH] pixman: fix version check for PIXMAN_TYPE_BGRA Signed-off-by: Gerd Hoffmann Signed-off-by: Blue Swirl --- qemu-pixman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-pixman.c b/qemu-pixman.c index e46e1804f6..79e175b8d0 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 } -- GitLab