aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-12-14 08:54:21 +0100
committerBlue Swirl <blauwirbel@gmail.com>2012-12-14 20:55:37 +0000
commitfbddfc727bde692f009a269e8e628d8c152b537b (patch)
tree083fcff5a5f5fc7202131a8a6da0678257451bf5
parente376a788ae130454ad5e797f60cb70d0308babb6 (diff)
pixman: fix version check for PIXMAN_TYPE_BGRA
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--qemu-pixman.c2
1 files changed, 1 insertions, 1 deletions
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
}