Skip to content

Commit 95a33fe

Browse files
TheShermanTankerprrace
authored andcommitted
8292314: Cleanup legacy address handling
Reviewed-by: prr
1 parent 5d799d8 commit 95a33fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.desktop/windows/native/libsplashscreen/splashscreen_sys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ SplashInitPlatform(Splash * splash)
442442
splash->isLayered = FALSE;
443443
hdc = GetDC(NULL);
444444
paletteMode = (GetDeviceCaps(hdc, RASTERCAPS) & RC_PALETTE) != 0;
445-
if (UpdateLayeredWindow && !paletteMode) {
445+
if (!paletteMode) {
446446
splash->isLayered = TRUE;
447447
}
448448
splash->byteAlignment = 4;

0 commit comments

Comments
 (0)