Skip to content

Commit 324e8a3

Browse files
author
AnotherCommander
committed
Fixed game window title bar not respecting system dark mode settings on Windows when launched with the -nosplash cmd line arg.
1 parent 9f1b9bb commit 324e8a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/SDL/MyOpenGLView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ - (id) init
281281
if (SetPreferredAppMode) SetPreferredAppMode(AllowDark);
282282
FreeLibrary(hUxTheme);
283283
}
284+
[self refreshDarKOrLightMode];
284285
#endif
285286
#endif //OOLITE_WINDOWS
286287

0 commit comments

Comments
 (0)