diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-12 00:07:55 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-12 00:07:55 +0200 |
commit | 60f16fea6c08f419bfd3d852ec3696bedfe09196 (patch) | |
tree | cd530a3d41d4b6bab83e0b94c7fee6db7c5a939f /src/gui/setup_video.cpp | |
parent | 81dd53a536f3f76636b058250750a661911a94ea (diff) | |
download | mana-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.cpp | 14 |
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; |