Skip to contentSkip to conversation

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

PATCH New Gerd Hoffmann 1 participant 1 message Sep 15, 2014

lore
Share & tools
lore
#0 lore raw

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

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