summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-10 01:28:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-10 01:33:59 +0300
commit93a30ec5dd65df6f91e028e68f18d6a7965240da (patch)
treef2a7908d565dd1e6f856e8c058fbc40f50dbb1cb /src/render/graphics.cpp
parent07daba6efa05a59271ce4173a2b500b27773e523 (diff)
downloadmanaplus-93a30ec5dd65df6f91e028e68f18d6a7965240da.tar.gz
manaplus-93a30ec5dd65df6f91e028e68f18d6a7965240da.tar.bz2
manaplus-93a30ec5dd65df6f91e028e68f18d6a7965240da.tar.xz
manaplus-93a30ec5dd65df6f91e028e68f18d6a7965240da.zip
Add support for mobileopengl2 backend (still copy from modern opengl).
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 1e2e7884d..613a87b89 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -312,6 +312,7 @@ bool Graphics::setOpenGLMode()
if (rectTex
&& OpenGLImageHelper::getInternalTextureType() == 4
&& getOpenGL() != RENDER_GLES_OPENGL
+ && getOpenGL() != RENDER_GLES2_OPENGL
&& getOpenGL() != RENDER_MODERN_OPENGL
&& config.getBoolValue("rectangulartextures")
&& !graphicsManager.isUseTextureSampler())