Skip to contentSkip to conversation

pixman: fix qemu_default_pixman_format (32bpp non-native endian)

GIT PULL Applied Gerd Hoffmann 2 participants 3 messages Oct 2, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

Fix pixman format bug.

please pull,
Gerd

The following changes since commit 29429c7244c73eefada3d0ec6dd30c5698782d08:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140929' into staging (2014-09-30 11:02:06 +0100)

are available in the git repository at:

git://git.kraxel.org/qemu tags/pull-console-20141002-1

for you to fetch changes up to 89ec031b09c81821e349c364575fad652395cf94:

pixman: fix qemu_default_pixman_format (32bpp non-native endian) (2014-09-30 13:34:04 +0200)

----------------------------------------------------------------
pixman: fix qemu_default_pixman_format (32bpp non-native endian)

----------------------------------------------------------------
Gerd Hoffmann (1):
pixman: fix qemu_default_pixman_format (32bpp non-native endian)

 ui/qemu-pixman.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#1 lore raw

Bug breaks SDL display of bigendian guests on little endian hosts.

---
 ui/qemu-pixman.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ui/qemu-pixman.c +1 -1
index 30c7fdd..1f6fea5 100644
@@ -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;
         }
     }
Signature · 1 line
1.8.3.1
#2 lore raw
In reply to Gerd Hoffmann
Quoted 16 lines · Gerd Hoffmann

Hi,

Fix pixman format bug.

please pull,
Gerd

The following changes since commit 29429c7244c73eefada3d0ec6dd30c5698782d08:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140929' into staging (2014-09-30 11:02:06 +0100)

are available in the git repository at:

git://git.kraxel.org/qemu tags/pull-console-20141002-1

Quoted 8 lines

for you to fetch changes up to 89ec031b09c81821e349c364575fad652395cf94:

pixman: fix qemu_default_pixman_format (32bpp non-native endian) (2014-09-30 13:34:04 +0200)

----------------------------------------------------------------
pixman: fix qemu_default_pixman_format (32bpp non-native endian)

----------------------------------------------------------------

Applied, thanks.

-- PMM