diff options
Diffstat (limited to 'src/ui/maindialog.cpp')
-rw-r--r-- | src/ui/maindialog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index 0ab9085..ede7453 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -4677,7 +4677,13 @@ void CMainDialog::ChangeDisplay() bFull = pc->TestState(STATE_CHECK); m_setupFull = bFull; + SetupMemorize(); + #if !PLATFORM_LINUX + // Windows causes problems, so we'll restart the game + // Mac OS was not tested so let's restart just to be sure + m_app->Restart(); + #else std::vector<Math::IntPoint> modes; m_app->GetVideoResolutionList(modes, true, true); @@ -4685,6 +4691,7 @@ void CMainDialog::ChangeDisplay() config.size = modes[m_setupSelMode]; config.fullScreen = bFull; m_app->ChangeVideoConfig(config); + #endif } |