diff --git a/apps/openmw/mwgui/settingswindow.cpp b/apps/openmw/mwgui/settingswindow.cpp index f6d0b4908b9..67130a17880 100644 --- a/apps/openmw/mwgui/settingswindow.cpp +++ b/apps/openmw/mwgui/settingswindow.cpp @@ -222,12 +222,18 @@ namespace MWGui textBox->setVisible(false); #endif #ifdef __SWITCH__ - MyGUI::Button *vsyncButton; - getWidget(vsyncButton, "VSyncButton"); - vsyncButton->setVisible(false); // vsync is "automatically" enforced by the GPU for the switch - MyGUI::TextBox *vsyncText; - getWidget(vsyncText, "VSyncText"); - vsyncText->setVisible(false); + // vsync is "automatically" enforced by the GPU for the switch, hide the button + MyGUI::Button *hideButton; + getWidget(hideButton, "VSyncButton"); + hideButton->setVisible(false); + MyGUI::TextBox *hideText; + getWidget(hideText, "VSyncText"); + hideText->setVisible(false); + // window border also has no effect + getWidget(hideButton, "WindowBorderButton"); + hideButton->setVisible(false); + getWidget(hideText, "WindowBorderText"); + hideText->setVisible(false); #endif mMainWidget->castType()->eventWindowChangeCoord += MyGUI::newDelegate(this, &SettingsWindow::onWindowResize);