From 89ec031b09c81821e349c364575fad652395cf94 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 15 Sep 2014 08:33:37 +0200 Subject: [PATCH] pixman: fix qemu_default_pixman_format (32bpp non-native endian) Bug breaks SDL display of bigendian guests on little endian hosts. Reported-by: BALATON Zoltan Reported-by: Valentin Manea Signed-off-by: Gerd Hoffmann --- ui/qemu-pixman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/qemu-pixman.c b/ui/qemu-pixman.c index 30c7fdd011..1f6fea535b 100644 --- a/ui/qemu-pixman.c +++ b/ui/qemu-pixman.c @@ -80,7 +80,7 @@ pixman_format_code_t qemu_default_pixman_format(int bpp, bool native_endian) case 24: return PIXMAN_b8g8r8; case 32: - return PIXMAN_b8g8r8a8; + return PIXMAN_b8g8r8x8; break; } } -- 2.11.0