summaryrefslogtreecommitdiff
path: root/src/render/renderers.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:22 +0300
commit2aa11a7780c0ee8244be91b45dc3c6c9927c1efe (patch)
tree6a8ee0f5f2d34c203ffa97fc81eb2f00b56243a2 /src/render/renderers.h
parentb8835bb8f60ebaaedbf474624ffceb1b181c3036 (diff)
downloadmanaverse-2aa11a7780c0ee8244be91b45dc3c6c9927c1efe.tar.gz
manaverse-2aa11a7780c0ee8244be91b45dc3c6c9927c1efe.tar.bz2
manaverse-2aa11a7780c0ee8244be91b45dc3c6c9927c1efe.tar.xz
manaverse-2aa11a7780c0ee8244be91b45dc3c6c9927c1efe.zip
Add const attribute to render.
Diffstat (limited to 'src/render/renderers.h')
-rw-r--r--src/render/renderers.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/renderers.h b/src/render/renderers.h
index 63f93f786..904f33687 100644
--- a/src/render/renderers.h
+++ b/src/render/renderers.h
@@ -23,7 +23,9 @@
#include "enums/render/rendertype.h"
-RenderType intToRenderType(const int mode);
+#include "localconsts.h"
+
+RenderType intToRenderType(const int mode) A_CONST;
#define isBatchDrawRenders(val) ((val) != RENDER_SAFE_OPENGL)