diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-01 14:41:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-01 14:53:49 +0300 |
commit | 222748a7e0c79225c66485898b913aa60f56cfe2 (patch) | |
tree | 38e27f08cec39bf8cca26df8caade81c112245e8 /src/map.cpp | |
parent | f4df2a0fd2d9c01b6f756c4b00ed9848f319a1b0 (diff) | |
download | mv-222748a7e0c79225c66485898b913aa60f56cfe2.tar.gz mv-222748a7e0c79225c66485898b913aa60f56cfe2.tar.bz2 mv-222748a7e0c79225c66485898b913aa60f56cfe2.tar.xz mv-222748a7e0c79225c66485898b913aa60f56cfe2.zip |
add way to map render mode selection to actual modes.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 189981f80..388f2eccf 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -148,9 +148,9 @@ Map::Map(const int width, const int height, mOverlayDetail(config.getIntValue("OverlayDetail")), mOpacity(config.getFloatValue("guialpha")), #ifdef USE_OPENGL - mOpenGL(config.getIntValue("opengl")), + mOpenGL(intToRenderType(config.getIntValue("opengl"))), #else - mOpenGL(0), + mOpenGL(RENDER_SOFTWARE), #endif mPvp(0), mTilesetsIndexed(false), |