summaryrefslogtreecommitdiff
path: root/src/render/renderers.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-08 01:04:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-08 01:04:33 +0300
commit410dd6c3d845cc0e19fd678090d95669bdeb5885 (patch)
treed9f0003f0f68212d1c99890f603c3d280b24669b /src/render/renderers.cpp
parentdce5065a2df5f6ac0057702f704b6ab4f16ce8f8 (diff)
downloadplus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.gz
plus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.bz2
plus-410dd6c3d845cc0e19fd678090d95669bdeb5885.tar.xz
plus-410dd6c3d845cc0e19fd678090d95669bdeb5885.zip
Add Modern OpenGL render type.
Now it using normal OpenGL renderer.
Diffstat (limited to 'src/render/renderers.cpp')
-rw-r--r--src/render/renderers.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp
index a26cb8b96..76aef6468 100644
--- a/src/render/renderers.cpp
+++ b/src/render/renderers.cpp
@@ -42,18 +42,24 @@ RenderType intToRenderType(const int mode)
if (mode != RENDER_SOFTWARE
#if defined(USE_OPENGL) && defined(ANDROID) && defined(USE_SDL2)
- && mode != RENDER_GLES_OPENGL && mode != RENDER_SDL2_DEFAULT)
+ && mode != RENDER_GLES_OPENGL
+ && mode != RENDER_SDL2_DEFAULT)
#elif defined(USE_OPENGL) && defined(ANDROID) && !defined(USE_SDL2)
&& mode != RENDER_GLES_OPENGL)
#elif defined(USE_OPENGL) && !defined(ANDROID) && defined(USE_SDL2)
- && mode != RENDER_NORMAL_OPENGL && mode != RENDER_SAFE_OPENGL
- && mode != RENDER_GLES_OPENGL && mode != RENDER_SDL2_DEFAULT)
+ && mode != RENDER_NORMAL_OPENGL
+ && mode != RENDER_MODERN_OPENGL
+ && mode != RENDER_SAFE_OPENGL
+ && mode != RENDER_GLES_OPENGL
+ && mode != RENDER_SDL2_DEFAULT)
#elif !defined(USE_OPENGL) && defined(USE_SDL2)
&& mode != RENDER_SDL2_DEFAULT)
#elif !defined(USE_OPENGL) && !defined(USE_SDL2)
)
#elif defined(USE_OPENGL) && !defined(ANDROID) && !defined(USE_SDL2)
- && mode != RENDER_NORMAL_OPENGL && mode != RENDER_SAFE_OPENGL
+ && mode != RENDER_NORMAL_OPENGL
+ && mode != RENDER_MODERN_OPENGL
+ && mode != RENDER_SAFE_OPENGL
&& mode != RENDER_GLES_OPENGL)
#endif
{