]> git.proxmox.com Git - mirror_qemu.git/blobdiff - ui/qemu-pixman.c
pixman: drop submodule
[mirror_qemu.git] / ui / qemu-pixman.c
index 6e8b83add604306281e2db60f35a1f8efd6c1bc9..6e591ab8213110774afca02a03121f3dd256ef18 100644 (file)
@@ -96,17 +96,13 @@ int qemu_pixman_get_type(int rshift, int gshift, int bshift)
         if (bshift == 0) {
             type = PIXMAN_TYPE_ARGB;
         } else {
-#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 21, 8)
             type = PIXMAN_TYPE_RGBA;
-#endif
         }
     } else if (rshift < gshift && gshift < bshift) {
         if (rshift == 0) {
             type = PIXMAN_TYPE_ABGR;
         } else {
-#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 16, 0)
             type = PIXMAN_TYPE_BGRA;
-#endif
         }
     }
     return type;