]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
pixman: fix version check for PIXMAN_TYPE_BGRA
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 14 Dec 2012 07:54:21 +0000 (08:54 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 14 Dec 2012 20:55:37 +0000 (20:55 +0000)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-pixman.c

index e46e1804f69150d5a5d678454c91b8f7a785f46f..79e175b8d0d2bceb168ca13fbe91f6edd43922ce 100644 (file)
@@ -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
         }