summaryrefslogtreecommitdiff
path: root/src/render/openglgraphicsdefadvanced.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-11 21:21:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-11 21:51:42 +0300
commit35d742677a59b4340b24f703bad666f3700b14b5 (patch)
tree4fba5450036a21c94064706258c5326252fda73a /src/render/openglgraphicsdefadvanced.hpp
parent2b60803357db480eb5214a758a54363d4172987e (diff)
downloadplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.gz
plus-35d742677a59b4340b24f703bad666f3700b14b5.tar.bz2
plus-35d742677a59b4340b24f703bad666f3700b14b5.tar.xz
plus-35d742677a59b4340b24f703bad666f3700b14b5.zip
Use inline attribute in some critial performance functions.
Diffstat (limited to 'src/render/openglgraphicsdefadvanced.hpp')
-rw-r--r--src/render/openglgraphicsdefadvanced.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/openglgraphicsdefadvanced.hpp b/src/render/openglgraphicsdefadvanced.hpp
index 7e1017c23..c63c6ba7f 100644
--- a/src/render/openglgraphicsdefadvanced.hpp
+++ b/src/render/openglgraphicsdefadvanced.hpp
@@ -22,7 +22,7 @@
public:
inline void drawVertexes(const OpenGLGraphicsVertexes &restrict ogl)
- restrict2;
+ restrict2 A_INLINE;
void initArrays(const int vertCount) restrict2 override final;