Patchwork [1/5] pixman: fix version check for PIXMAN_TYPE_BGRA

login
register
mail settings
Submitter Gerd Hoffmann
Date Dec. 14, 2012, 7:54 a.m.
Message ID <1355471665-23903-2-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/206368/
State New
Headers show

Comments

Gerd Hoffmann - Dec. 14, 2012, 7:54 a.m.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 qemu-pixman.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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
         }