diff options
author | cpasjuste <cpasjuste@gmail.com> | 2020-04-29 12:00:27 +0200 |
---|---|---|
committer | cpasjuste <cpasjuste@gmail.com> | 2020-04-29 12:00:27 +0200 |
commit | 89e1386cafbcebb4fd51c93125b3ada82a0ba6bb (patch) | |
tree | 305632adfeb7d7d9141340f7f54e4c436ead6baf | |
parent | 9336a924065553d94732941900375385284c47ee (diff) | |
download | mv-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.tar.gz mv-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.tar.bz2 mv-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.tar.xz mv-89e1386cafbcebb4fd51c93125b3ada82a0ba6bb.zip |
switch: remove unused renders
-rw-r--r-- | src/render/rendererslistsdl2.h | 20 |
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 |