summaryrefslogtreecommitdiff
path: root/src/render/renderers.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-01 17:40:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-01 17:57:47 +0300
commit5359b7c20b9ee93989a840e555f0a2102b7bb806 (patch)
treea95017d22a4f3e2f57be59dd4826f3b823a65656 /src/render/renderers.h
parent222748a7e0c79225c66485898b913aa60f56cfe2 (diff)
downloadmanaverse-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.gz
manaverse-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.bz2
manaverse-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.xz
manaverse-5359b7c20b9ee93989a840e555f0a2102b7bb806.zip
add SDL2 default render mode.
in this mode SDL using own driver with hardware acceleration.
Diffstat (limited to 'src/render/renderers.h')
-rw-r--r--src/render/renderers.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/renderers.h b/src/render/renderers.h
index 8922f3d10..f7d58b5e9 100644
--- a/src/render/renderers.h
+++ b/src/render/renderers.h
@@ -26,11 +26,10 @@
enum RenderType
{
RENDER_SOFTWARE = 0,
-#ifdef USE_OPENGL
RENDER_NORMAL_OPENGL = 1,
RENDER_SAFE_OPENGL = 2,
RENDER_GLES_OPENGL = 3,
-#endif
+ RENDER_SDL2_DEFAULT = 4,
RENDER_LAST
};