diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:21:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:51:42 +0300 |
commit | 35d742677a59b4340b24f703bad666f3700b14b5 (patch) | |
tree | 4fba5450036a21c94064706258c5326252fda73a /src/render/openglgraphicsdef.hpp | |
parent | 2b60803357db480eb5214a758a54363d4172987e (diff) | |
download | plus-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/openglgraphicsdef.hpp')
-rw-r--r-- | src/render/openglgraphicsdef.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/openglgraphicsdef.hpp b/src/render/openglgraphicsdef.hpp index 4b32c6442..42f61c2be 100644 --- a/src/render/openglgraphicsdef.hpp +++ b/src/render/openglgraphicsdef.hpp @@ -49,6 +49,6 @@ protected: void setTexturingAndBlending(const bool enable) restrict2; private: - void inline setColorAlpha(const float alpha) restrict2; + void inline setColorAlpha(const float alpha) restrict2 A_INLINE; - void inline restoreColor() restrict2; + void inline restoreColor() restrict2 A_INLINE; |