From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbDW-0007Br-8M for qemu-devel@nongnu.org; Thu, 02 Oct 2014 03:54:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZbDR-00030g-A6 for qemu-devel@nongnu.org; Thu, 02 Oct 2014 03:54:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbDR-00030a-3h for qemu-devel@nongnu.org; Thu, 02 Oct 2014 03:54:21 -0400 From: Gerd Hoffmann Date: Thu, 2 Oct 2014 09:54:15 +0200 Message-Id: <1412236455-25643-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1412236455-25643-1-git-send-email-kraxel@redhat.com> References: <1412236455-25643-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 1/1] pixman: fix qemu_default_pixman_format (32bpp non-native endian) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori 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 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; } } -- 1.8.3.1