diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-01 14:41:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-01 14:53:49 +0300 |
commit | 222748a7e0c79225c66485898b913aa60f56cfe2 (patch) | |
tree | 38e27f08cec39bf8cca26df8caade81c112245e8 /src/render/renderers.h | |
parent | f4df2a0fd2d9c01b6f756c4b00ed9848f319a1b0 (diff) | |
download | mv-222748a7e0c79225c66485898b913aa60f56cfe2.tar.gz mv-222748a7e0c79225c66485898b913aa60f56cfe2.tar.bz2 mv-222748a7e0c79225c66485898b913aa60f56cfe2.tar.xz mv-222748a7e0c79225c66485898b913aa60f56cfe2.zip |
add way to map render mode selection to actual modes.
Diffstat (limited to 'src/render/renderers.h')
-rw-r--r-- | src/render/renderers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/renderers.h b/src/render/renderers.h index 632614599..8922f3d10 100644 --- a/src/render/renderers.h +++ b/src/render/renderers.h @@ -21,13 +21,19 @@ #ifndef RENDER_RENDERERS_H #define RENDER_RENDERERS_H +#include "utils/gettext.h" + enum RenderType { RENDER_SOFTWARE = 0, +#ifdef USE_OPENGL RENDER_NORMAL_OPENGL = 1, RENDER_SAFE_OPENGL = 2, RENDER_GLES_OPENGL = 3, +#endif RENDER_LAST }; +RenderType intToRenderType(const int mode); + #endif // RENDER_RENDERERS_H |