summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render/rendererslistsdl2.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/render/rendererslistsdl2.h b/src/render/rendererslistsdl2.h
index 259643295..fd1a84026 100644
--- a/src/render/rendererslistsdl2.h
+++ b/src/render/rendererslistsdl2.h
@@ -104,32 +104,26 @@ const int renderToIndex[] =
// map for index to RenderType
const RenderType indexToRender[] =
{
- RENDER_SOFTWARE,
- RENDER_SDL2_DEFAULT,
RENDER_GLES2_OPENGL
};
const char *OPENGL_NAME[] =
{
// TRANSLATORS: draw backend
- N_("Software"),
- // TRANSLATORS: draw backend
- N_("SDL2 default"),
- // TRANSLATORS: draw backend
N_("OpenGL ES 2")
};
-const int renderModesListSize = 3;
+const int renderModesListSize = 1;
const int renderToIndex[] =
{
0, // RENDER_SOFTWARE
- 2, // RENDER_NORMAL_OPENGL
- 2, // RENDER_SAFE_OPENGL
- 2, // RENDER_GLES_OPENGL
- 1, // RENDER_SDL2_DEFAULT
- 2, // RENDER_MODERN_OPENGL
- 2 // RENDER_GLES2_OPENGL
+ 0, // RENDER_NORMAL_OPENGL
+ 0, // RENDER_SAFE_OPENGL
+ 0, // RENDER_GLES_OPENGL
+ 0, // RENDER_SDL2_DEFAULT
+ 0, // RENDER_MODERN_OPENGL
+ 0 // RENDER_GLES2_OPENGL
};
#else // ANDROID or nacl