summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-04 00:49:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-04 00:49:33 +0300
commitdb57c5be30ff61394b7fff8b0c7fa0101e66d6c0 (patch)
tree5bd683f3aeb3cfef458eaa45726f3e06c721b3b6 /src/render
parent1485b138c5b906546381f1ae4a91553a3c2fc6c4 (diff)
downloadplus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.gz
plus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.bz2
plus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.tar.xz
plus-db57c5be30ff61394b7fff8b0c7fa0101e66d6c0.zip
improve checking for batch draw mode support by renderer.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/renderers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/renderers.h b/src/render/renderers.h
index 3ce1fdb81..3c79103c1 100644
--- a/src/render/renderers.h
+++ b/src/render/renderers.h
@@ -34,4 +34,6 @@ enum RenderType
RenderType intToRenderType(const int mode);
+#define isBatchDrawRenders(val) (val) != RENDER_SAFE_OPENGL
+
#endif // RENDER_RENDERERS_H