summaryrefslogtreecommitdiff
path: root/src/render/rendererslistsdl2.h
diff options
context:
space:
mode:
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