mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-13 20:33:46 +00:00
pixman: fix version check for PIXMAN_TYPE_BGRA
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e376a788ae
commit
fbddfc727b
@ -21,7 +21,7 @@ int qemu_pixman_get_type(int rshift, int gshift, int bshift)
|
|||||||
if (rshift == 0) {
|
if (rshift == 0) {
|
||||||
type = PIXMAN_TYPE_ABGR;
|
type = PIXMAN_TYPE_ABGR;
|
||||||
} else {
|
} else {
|
||||||
#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 21, 8)
|
#if PIXMAN_VERSION >= PIXMAN_VERSION_ENCODE(0, 16, 0)
|
||||||
type = PIXMAN_TYPE_BGRA;
|
type = PIXMAN_TYPE_BGRA;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user