diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-13 15:56:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-13 15:56:56 +0300 |
commit | cd0baf3217701134a8e61932fd14c39cec0cf242 (patch) | |
tree | 7d18a8b58d753865c3de9027fd384035375c7ab9 /src/client.cpp | |
parent | e71aed97c2d885c8113561c1e0cad91454adeb57 (diff) | |
download | mv-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.gz mv-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.bz2 mv-cd0baf3217701134a8e61932fd14c39cec0cf242.tar.xz mv-cd0baf3217701134a8e61932fd14c39cec0cf242.zip |
Fix compilation errors with different flags.
Also fix renderer selection in build without OpenGL.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index 7ab7cb328..fcfb6db7f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2357,11 +2357,7 @@ void Client::storeSafeParameters() const if (isSafeMode) logger->log1("Run in safe mode"); -#if defined USE_OPENGL tmpOpengl = intToRenderType(config.getIntValue("opengl")); -#else - tmpOpengl = RENDER_SOFTWARE; -#endif width = config.getIntValue("screenwidth"); height = config.getIntValue("screenheight"); |