[0.4.14][WIN32K] Revert incorrect part of R50928 for RealizePalette. (#3678)
authorJoachim Henze <Joachim.Henze@reactos.org>
Mon, 21 Jun 2021 22:00:35 +0000 (00:00 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Mon, 21 Jun 2021 22:00:35 +0000 (00:00 +0200)
commit591b517fc6be94b02f67fce4ab5375dff1ade476
tree84a64a3c7ef0d2ea4361430a26df307e9e4d2c7d
parentde93f488fa5cbe3cb665336ae5cf654a590ff1f7
[0.4.14][WIN32K] Revert incorrect part of R50928 for RealizePalette. (#3678)

Revert incorrect code for Realize Palette
Revert part of SVN R50928 that causes Durak card suites to have wrong colors.
SVN r50928 == git 5de8339cd196e2bc01ac631e677010a939b2d083

JIRA issue: CORE-13748 <= Durak Example
JIRA issue: CORE-16510 <= GDIProg Example

The patch also fixes 2 crashes on each bot, although
it was not targeted for that explicitly:
KVM: https://reactos.org/testman/compare.php?ids=77304,77308 LGTM
VBox: https://reactos.org/testman/compare.php?ids=77305,77309 LGTM

Thanks to the patches author Doug Lyons.

picked from 0.4.15-dev-2735-g c7954134d0d60100911b8872d3605fbb576d968d
win32ss/gdi/ntgdi/palette.c