summaryrefslogtreecommitdiff
path: root/src/render/renderers.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/renderers.cpp
parent07daba6efa05a59271ce4173a2b500b27773e523 (diff)
downloadmanaverse-93a30ec5dd65df6f91e028e68f18d6a7965240da.tar.gz
manaverse-93a30ec5dd65df6f91e028e68f18d6a7965240da.tar.bz2
manaverse-93a30ec5dd65df6f91e028e68f18d6a7965240da.tar.xz
manaverse-93a30ec5dd65df6f91e028e68f18d6a7965240da.zip
Add support for mobileopengl2 backend (still copy from modern opengl).
Diffstat (limited to 'src/render/renderers.cpp')
-rw-r--r--src/render/renderers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp
index 9c0834e85..7af602548 100644
--- a/src/render/renderers.cpp
+++ b/src/render/renderers.cpp
@@ -51,6 +51,7 @@ RenderType intToRenderType(const int mode)
&& mode != RENDER_MODERN_OPENGL
&& mode != RENDER_SAFE_OPENGL
&& mode != RENDER_GLES_OPENGL
+ && mode != RENDER_GLES2_OPENGL
&& mode != RENDER_SDL2_DEFAULT)
#elif !defined(USE_OPENGL) && defined(USE_SDL2)
&& mode != RENDER_SDL2_DEFAULT)
@@ -60,7 +61,8 @@ RenderType intToRenderType(const int mode)
&& mode != RENDER_NORMAL_OPENGL
&& mode != RENDER_MODERN_OPENGL
&& mode != RENDER_SAFE_OPENGL
- && mode != RENDER_GLES_OPENGL)
+ && mode != RENDER_GLES_OPENGL
+ && mode != RENDER_GLES2_OPENGL)
#endif
{
return getDefault();