summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-09-12 00:07:55 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-09-12 00:07:55 +0200
commit60f16fea6c08f419bfd3d852ec3696bedfe09196 (patch)
treecd530a3d41d4b6bab83e0b94c7fee6db7c5a939f /src/gui/setup_video.cpp
parent81dd53a536f3f76636b058250750a661911a94ea (diff)
downloadmana-60f16fea6c08f419bfd3d852ec3696bedfe09196.tar.gz
mana-60f16fea6c08f419bfd3d852ec3696bedfe09196.tar.bz2
mana-60f16fea6c08f419bfd3d852ec3696bedfe09196.tar.xz
mana-60f16fea6c08f419bfd3d852ec3696bedfe09196.zip
Deactivating OpenGL by default on Windows
For Linux OpenGL was already deactivated. For OSX it is still by default switched on. Reviewed-by: Jaxad0127
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index b576f302..b14a8654 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -440,8 +440,18 @@ void Setup_Video::apply()
config.setValue("opengl", mOpenGLCheckBox->isSelected());
// OpenGL can currently only be changed by restarting, notify user.
- new OkDialog(_("Changing to OpenGL"),
- _("Applying change to OpenGL requires restart."));
+ if (mOpenGLCheckBox->isSelected())
+ {
+ new OkDialog(_("Changing to OpenGL"),
+ _("Applying change to OpenGL requires restart. "
+ "In case OpenGL messes up your game graphics, restart "
+ "the game with the command line option \"--no-opengl\"."));
+ }
+ else
+ {
+ new OkDialog(_("Deactivating OpenGL"),
+ _("Applying change to OpenGL requires restart."));
+ }
}
mFps = mFpsCheckBox->isSelected() ? (int) mFpsSlider->getValue() : 0;