Mac remembers fullscreen

Removes an obsolete workaround to fix a problem with the program not saving your window settings on Mac. #21696
This commit is contained in:
kaavyar 2024-04-21 18:47:52 -04:00
parent 3da303788b
commit 191142716c
1 changed files with 1 additions and 4 deletions

View File

@ -763,11 +763,8 @@ private:
UpdateFullscreenResolutions();
// Fix #4022: Force Mac to windowed to avoid cursor offset on launch issue
#ifdef __MACOSX__
gConfigGeneral.FullscreenMode = static_cast<int32_t>(OpenRCT2::Ui::FULLSCREEN_MODE::WINDOWED);
#else
// Fix #21696: Workaround is obsolete, removed
SetFullscreenMode(static_cast<FULLSCREEN_MODE>(gConfigGeneral.FullscreenMode));
#endif
TriggerResize();
}