sdl2: Fix RGB555
commite444ea34f8ec27acfa9ead7eaa9904238c831e69
authorMax Reitz <mreitz@redhat.com>
Tue, 3 Mar 2015 17:25:27 +0000 (3 12:25 -0500)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 5 May 2015 08:48:26 +0000 (5 10:48 +0200)
tree530949bda5134c511cdd746fbaeb4ef03cb50e7c
parent0b71a5d5caa4f709d37fa1d7786dffc2c94f8414
sdl2: Fix RGB555

Reproducable with:

$ x86_64-softmmu/qemu-system-x86_64 \
    -kernel $vmlinuz_of_your_choice \
    -append vga=0x313 -sdl

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/console.h
ui/sdl2-2d.c