summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-19 23:49:58 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-19 23:49:58 +0300
commit62f6aea80258af22dd939546c29fcd85c489d965 (patch)
treeb2edbe39f110d02cc1dae83908b53bd215aba722
parentb2e6c01fcefa5bb4690196193214a5010a7ca14e (diff)
downloadmanaplus-62f6aea80258af22dd939546c29fcd85c489d965.tar.gz
manaplus-62f6aea80258af22dd939546c29fcd85c489d965.tar.bz2
manaplus-62f6aea80258af22dd939546c29fcd85c489d965.tar.xz
manaplus-62f6aea80258af22dd939546c29fcd85c489d965.zip
Add message in servers dialog if selected software render mode.
-rw-r--r--src/gui/windows/serverdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 396c9184f..485e26d52 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -133,6 +133,12 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
// TRANSLATORS: servers dialog name
setCaption(_("Choose Your Server *** SAFE MODE ***"));
}
+#ifdef USE_OPENGL
+ else if (config.getIntValue("opengl") == RENDER_SOFTWARE)
+ {
+ setCaption(_("Choose Your Server *** SOFTWARE RENDER MODE ***"));
+ }
+#endif // USE_OPENGL
setWindowName("ServerDialog");