summaryrefslogtreecommitdiff
path: root/src/render/rendererslistsdl2.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-10 00:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-10 01:33:59 +0300
commit07daba6efa05a59271ce4173a2b500b27773e523 (patch)
treedf90c3f8fecd71915779d6eccc9d1936f0d3aec0 /src/render/rendererslistsdl2.h
parent70700509ee969b58c6110310f5a962dcff854d6e (diff)
downloadmanaplus-07daba6efa05a59271ce4173a2b500b27773e523.tar.gz
manaplus-07daba6efa05a59271ce4173a2b500b27773e523.tar.bz2
manaplus-07daba6efa05a59271ce4173a2b500b27773e523.tar.xz
manaplus-07daba6efa05a59271ce4173a2b500b27773e523.zip
Copy modernopengl into mobileopengl2 backend.
In future it will be reworked into OpenGL ES 2.
Diffstat (limited to 'src/render/rendererslistsdl2.h')
-rw-r--r--src/render/rendererslistsdl2.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/render/rendererslistsdl2.h b/src/render/rendererslistsdl2.h
index 3629438b8..d40b8617a 100644
--- a/src/render/rendererslistsdl2.h
+++ b/src/render/rendererslistsdl2.h
@@ -56,7 +56,8 @@ const int renderToIndex[] =
2, // RENDER_SAFE_OPENGL
2, // RENDER_GLES_OPENGL
1, // RENDER_SDL2_DEFAULT
- 2 // RENDER_MODERN_OPENGL
+ 2, // RENDER_MODERN_OPENGL
+ 2 // RENDER_GLES_OPENGL
};
#else // ANDROID
@@ -70,7 +71,8 @@ const RenderType indexToRender[] =
RENDER_NORMAL_OPENGL,
RENDER_SAFE_OPENGL,
RENDER_GLES_OPENGL,
- RENDER_MODERN_OPENGL
+ RENDER_MODERN_OPENGL,
+ RENDER_GLES2_OPENGL
};
const char *OPENGL_NAME[] =
@@ -86,10 +88,12 @@ const char *OPENGL_NAME[] =
// TRANSLATORS: draw backend
N_("Mobile OpenGL ES"),
// TRANSLATORS: draw backend
- N_("Modern OpenGL")
+ N_("Modern OpenGL"),
+ // TRANSLATORS: draw backend
+ N_("Mobile OpenGL ES 2")
};
-const int renderModesListSize = 6;
+const int renderModesListSize = 7;
const int renderToIndex[] =
{
@@ -98,7 +102,8 @@ const int renderToIndex[] =
3, // RENDER_SAFE_OPENGL
4, // RENDER_GLES_OPENGL
1, // RENDER_SDL2_DEFAULT
- 5 // RENDER_MODERN_OPENGL
+ 5, // RENDER_MODERN_OPENGL
+ 6 // RENDER_GLES2_OPENGL
};
#endif // ANDROID
@@ -130,7 +135,8 @@ const int renderToIndex[] =
0, // RENDER_SAFE_OPENGL
0, // RENDER_GLES_OPENGL
1, // RENDER_SDL2_DEFAULT
- 0 // RENDER_MODERN_OPENGL
+ 0, // RENDER_MODERN_OPENGL
+ 0 // RENDER_GLES2_OPENGL
};
#endif // USE_OPENGL