mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
3da303788b
commit
191142716c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue