summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
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),