diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-10-07 23:12:51 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-10-08 13:31:03 +0200 |
commit | 432d59c56ef8a8eaefd847a40a01439e32317bff (patch) | |
tree | 61e8e0ef23235a76f502127015ddc0a5c61a4468 /include/hw/display | |
parent | 57eeaf44ce6964e6e86275318f5fc35610c1dc68 (diff) | |
download | qemu-432d59c56ef8a8eaefd847a40a01439e32317bff.zip qemu-432d59c56ef8a8eaefd847a40a01439e32317bff.tar.gz qemu-432d59c56ef8a8eaefd847a40a01439e32317bff.tar.bz2 |
macfb: fix 24-bit RGB pixel encoding
According to Apple Technical Note HW26: "Macintosh Quadra Built-In Video" the
in-built framebuffer encodes each 24-bit pixel into 4 bytes. Adjust the 24-bit
RGB pixel encoding accordingly which agrees with the encoding expected by MacOS
when changing into 24-bit colour mode.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211007221253.29024-12-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/display')
0 files changed, 0 insertions, 0 deletions