diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-15 08:33:37 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-30 13:34:04 +0200 |
commit | 89ec031b09c81821e349c364575fad652395cf94 (patch) | |
tree | 7a56e3c53cb15769a2005201b7acb7d198debb73 /ui | |
parent | 29429c7244c73eefada3d0ec6dd30c5698782d08 (diff) | |
download | qemu-89ec031b09c81821e349c364575fad652395cf94.zip qemu-89ec031b09c81821e349c364575fad652395cf94.tar.gz qemu-89ec031b09c81821e349c364575fad652395cf94.tar.bz2 |
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 <balaton@eik.bme.hu>
Reported-by: Valentin Manea <valentin.manea@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qemu-pixman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qemu-pixman.c b/ui/qemu-pixman.c index 30c7fdd..1f6fea5 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; } } |