ui/console-gl: Add support for big endian display surfaces
commit2c2311c5451f4555e85077285233884e66f9ea33
authorThomas Huth <thuth@redhat.com>
Mon, 6 Jun 2016 20:01:01 +0000 (6 22:01 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Jun 2016 09:13:59 +0000 (10 11:13 +0200)
tree0109383dc35619eac74f291429f2c6129859b2e1
parent4d5942332f42a17c9ebbf67ef335ec72fcd789ff
ui/console-gl: Add support for big endian display surfaces

This is required for running QEMU on big endian hosts (like
PowerPC machines) that use RGB instead of BGR byte ordering.

Ticket: https://bugs.launchpad.net/qemu/+bug/1581796
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1465243261-26731-1-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console-gl.c