summaryrefslogtreecommitdiff
path: root/src/render/rendererslistsdl2.h
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-29 12:00:27 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-29 12:00:27 +0200
commit89e1386cafbcebb4fd51c93125b3ada82a0ba6bb (patch)
tree305632adfeb7d7d9141340f7f54e4c436ead6baf /src/render/rendererslistsdl2.h
parent9336a924065553d94732941900375385284c47ee (diff)
downloadmanaverse-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.tar.gz
manaverse-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.tar.bz2
manaverse-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.tar.xz
manaverse-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.zip
switch: remove unused renders
Diffstat (limited to 'src/render/rendererslistsdl2.h')
-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