summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
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/graphicsmanager.cpp
parentab7cbe78ea676d5932881152631e6a6eafa530de (diff)
downloadmanaplus-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.gz
manaplus-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.bz2
manaplus-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.xz
manaplus-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.zip
Enable texture atlases for modernopengl.
Diffstat (limited to 'src/graphicsmanager.cpp')
-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