summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-30 13:25:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-30 13:25:50 +0300
commit5c7aca79bf39182e01dfcae4b69a0ace8142e9b2 (patch)
tree92f76f84d706d140239c49d021abcd018cdbea52 /src
parentab7cbe78ea676d5932881152631e6a6eafa530de (diff)
downloadmanaverse-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.gz
manaverse-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.bz2
manaverse-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.xz
manaverse-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.zip
Enable texture atlases for modernopengl.
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 495b0ad85..7ebdcbdc3 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -312,7 +312,9 @@ void GraphicsManager::createRenderers()
#endif
};
mUseAtlases = (useOpenGL == RENDER_NORMAL_OPENGL
- || useOpenGL == RENDER_SAFE_OPENGL || useOpenGL == RENDER_GLES_OPENGL)
+ || useOpenGL == RENDER_SAFE_OPENGL
+ || useOpenGL == RENDER_MODERN_OPENGL
+ || useOpenGL == RENDER_GLES_OPENGL)
&& config.getBoolValue("useAtlases");
#else // USE_OPENGL