summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ffea7a8a..986b65fa 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -288,7 +288,7 @@ Client::Client(const Options &options):
// Add the local data directory to PhysicsFS search path
resman->addToSearchPath(mLocalDataDir, false);
- bool useOpenGL = !mOptions.noOpenGL && (config.getValue("opengl", 1) == 1);
+ bool useOpenGL = !mOptions.noOpenGL && (config.getValue("opengl", 0) == 1);
// Set up the transparency option for low CPU when not using OpenGL.
if (!useOpenGL && (config.getValue("disableTransparency", 0) == 1))
@@ -1201,8 +1201,7 @@ void Client::initHomeDir()
void Client::initConfiguration()
{
// Fill configuration with defaults
- config.setValue("hwaccel", false);
- config.setValue("opengl", true);
+ config.setValue("opengl", false);
config.setValue("screen", false);
config.setValue("sound", true);
config.setValue("guialpha", 0.8f);