summaryrefslogtreecommitdiff
path: root/src/render/renderers.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-01 14:41:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-01 14:53:49 +0300
commit222748a7e0c79225c66485898b913aa60f56cfe2 (patch)
tree38e27f08cec39bf8cca26df8caade81c112245e8 /src/render/renderers.h
parentf4df2a0fd2d9c01b6f756c4b00ed9848f319a1b0 (diff)
downloadplus-222748a7e0c79225c66485898b913aa60f56cfe2.tar.gz
plus-222748a7e0c79225c66485898b913aa60f56cfe2.tar.bz2
plus-222748a7e0c79225c66485898b913aa60f56cfe2.tar.xz
plus-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.h6
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