diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-30 13:25:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-30 13:25:50 +0300 |
commit | 5c7aca79bf39182e01dfcae4b69a0ace8142e9b2 (patch) | |
tree | 92f76f84d706d140239c49d021abcd018cdbea52 /src/graphicsmanager.cpp | |
parent | ab7cbe78ea676d5932881152631e6a6eafa530de (diff) | |
download | mv-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.gz mv-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.bz2 mv-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.tar.xz mv-5c7aca79bf39182e01dfcae4b69a0ace8142e9b2.zip |
Enable texture atlases for modernopengl.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 4 |
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 |