diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-10 00:47:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-10 01:33:59 +0300 |
commit | 07daba6efa05a59271ce4173a2b500b27773e523 (patch) | |
tree | df90c3f8fecd71915779d6eccc9d1936f0d3aec0 /src/render/rendererslistsdl.h | |
parent | 70700509ee969b58c6110310f5a962dcff854d6e (diff) | |
download | manaplus-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/rendererslistsdl.h')
-rw-r--r-- | src/render/rendererslistsdl.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/render/rendererslistsdl.h b/src/render/rendererslistsdl.h index 9bb0e1353..3c09b5dc8 100644 --- a/src/render/rendererslistsdl.h +++ b/src/render/rendererslistsdl.h @@ -58,7 +58,8 @@ const int renderToIndex[] = 1, // RENDER_SAFE_OPENGL 1, // RENDER_GLES_OPENGL 1, // RENDER_SDL2_DEFAULT - 1 // RENDER_MODERN_OPENGL + 1, // RENDER_MODERN_OPENGL + 1 // RENDER_GLES2_OPENGL }; #else // ANDROID @@ -71,7 +72,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[] = @@ -85,10 +87,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 = 5; +const int renderModesListSize = 6; const int renderToIndex[] = { @@ -97,7 +101,8 @@ const int renderToIndex[] = 2, // RENDER_SAFE_OPENGL 3, // RENDER_GLES_OPENGL 0, // RENDER_SDL2_DEFAULT - 4 // RENDER_MODERN_OPENGL + 4, // RENDER_MODERN_OPENGL + 5 // RENDER_GLES2_OPENGL }; #endif // ANDROID @@ -126,7 +131,8 @@ const int renderToIndex[] = 0, // RENDER_SAFE_OPENGL 0, // RENDER_GLES_OPENGL 0, // RENDER_SDL2_DEFAULT - 0 // RENDER_MODERN_OPENGL + 0, // RENDER_MODERN_OPENGL + 0 // RENDER_GLES2_OPENGL }; #endif // USE_OPENGL |