summaryrefslogtreecommitdiff
path: root/src/render/rendererslistsdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/rendererslistsdl.h')
-rw-r--r--src/render/rendererslistsdl.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/render/rendererslistsdl.h b/src/render/rendererslistsdl.h
index b2c3b2354..18960beda 100644
--- a/src/render/rendererslistsdl.h
+++ b/src/render/rendererslistsdl.h
@@ -57,7 +57,8 @@ const int renderToIndex[] =
1, // RENDER_NORMAL_OPENGL
1, // RENDER_SAFE_OPENGL
1, // RENDER_GLES_OPENGL
- 1 // RENDER_SDL2_DEFAULT
+ 1, // RENDER_SDL2_DEFAULT
+ 1 // RENDER_MODERN_OPENGL
};
#else // ANDROID
@@ -69,7 +70,8 @@ const RenderType indexToRender[] =
RENDER_SOFTWARE,
RENDER_NORMAL_OPENGL,
RENDER_SAFE_OPENGL,
- RENDER_GLES_OPENGL
+ RENDER_GLES_OPENGL,
+ RENDER_MODERN_OPENGL
};
const char *OPENGL_NAME[] =
@@ -81,10 +83,12 @@ const char *OPENGL_NAME[] =
// TRANSLATORS: draw backend
N_("Safe OpenGL"),
// TRANSLATORS: draw backend
- N_("Mobile OpenGL")
+ N_("Mobile OpenGL"),
+ // TRANSLATORS: draw backend
+ N_("Modern OpenGL")
};
-const int renderModesListSize = 4;
+const int renderModesListSize = 5;
const int renderToIndex[] =
{
@@ -92,7 +96,8 @@ const int renderToIndex[] =
1, // RENDER_NORMAL_OPENGL
2, // RENDER_SAFE_OPENGL
3, // RENDER_GLES_OPENGL
- 0 // RENDER_SDL2_DEFAULT
+ 0, // RENDER_SDL2_DEFAULT
+ 4 // RENDER_MODERN_OPENGL
};
#endif // ANDROID
@@ -120,7 +125,8 @@ const int renderToIndex[] =
0, // RENDER_NORMAL_OPENGL
0, // RENDER_SAFE_OPENGL
0, // RENDER_GLES_OPENGL
- 0 // RENDER_SDL2_DEFAULT
+ 0, // RENDER_SDL2_DEFAULT
+ 0 // RENDER_MODERN_OPENGL
};
#endif // USE_OPENGL