8292314: Cleanup legacy address handling

Reviewed-by: prr
This commit is contained in:
Julian Waters 2022-08-25 19:44:43 +00:00 committed by Phil Race
parent 5d799d80e6
commit 95a33fe150

View File

@ -442,7 +442,7 @@ SplashInitPlatform(Splash * splash)
splash->isLayered = FALSE;
hdc = GetDC(NULL);
paletteMode = (GetDeviceCaps(hdc, RASTERCAPS) & RC_PALETTE) != 0;
if (UpdateLayeredWindow && !paletteMode) {
if (!paletteMode) {
splash->isLayered = TRUE;
}
splash->byteAlignment = 4;