Add BGR1555 color support

This commit is contained in:
Francisco Javier Trujillo Mata 2020-12-28 13:46:38 +01:00
parent ecd3842140
commit 3e56977f35

View File

@ -21,9 +21,15 @@ unsigned char dirty[1024];
enum {
Black = 0,
White = 0xffff,
#if defined(ABGR1555)
Red = 0x001f,
Green = 0x3e0,
Blue = 0x7c00,
#else
Red = 0xf800,
Green = 0x07e0,
Blue = 0x001f,
#endif
Yellow = Red | Green,
Magenta = Red | Blue,
Cyan = Green | Blue,