winmain message_handler v1.

This commit is contained in:
oz committed 2020-12-02 20:12:34 +03:00
1 parent d83c4e2b26
commit 9ffab95d8e
21 files changed
+871 -28

No files matched your search

+3 -2
View File
@@ -206,9 +206,10 @@ int gdrv::display_palette(PALETTEENTRY* plt)
{
if (plt)
{
pltDst->peRed = pltSrc->peRed;
// Todo: verify RGB order
pltDst->peRed = pltSrc->peBlue;
pltDst->peGreen = pltSrc->peGreen;
pltDst->peBlue = pltSrc->peBlue;
pltDst->peBlue = pltSrc->peRed;
}
pltDst->peFlags = 4;
pltSrc++;