提交 fbddfc72 编写于 作者: G Gerd Hoffmann 提交者: Blue Swirl

pixman: fix version check for PIXMAN_TYPE_BGRA

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 e376a788
...@@ -21,7 +21,7 @@ int qemu_pixman_get_type(int rshift, int gshift, int bshift) ...@@ -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
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册