summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-12 20:16:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-12 20:16:29 +0300
commitea4af93d512a993e1a7c2dc1b90a1cddad5a4ab1 (patch)
treef899f0567f8f174e7d2d688b58cf1f3329f85fca /src
parentf6de528baf6b3cfc82971352da566a9d750664b8 (diff)
downloadmv-ea4af93d512a993e1a7c2dc1b90a1cddad5a4ab1.tar.gz
mv-ea4af93d512a993e1a7c2dc1b90a1cddad5a4ab1.tar.bz2
mv-ea4af93d512a993e1a7c2dc1b90a1cddad5a4ab1.tar.xz
mv-ea4af93d512a993e1a7c2dc1b90a1cddad5a4ab1.zip
For now disable batch draw in modern opengl because it not implimented.
Diffstat (limited to 'src')
-rw-r--r--src/render/renderers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/renderers.h b/src/render/renderers.h
index 5c06c879a..a4201aad4 100644
--- a/src/render/renderers.h
+++ b/src/render/renderers.h
@@ -25,6 +25,7 @@
RenderType intToRenderType(const int mode);
-#define isBatchDrawRenders(val) (val) != RENDER_SAFE_OPENGL
+#define isBatchDrawRenders(val) ((val) != RENDER_SAFE_OPENGL \
+ && (val) != RENDER_MODERN_OPENGL)
#endif // RENDER_RENDERERS_H