From 35d742677a59b4340b24f703bad666f3700b14b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Feb 2016 21:21:36 +0300 Subject: Use inline attribute in some critial performance functions. --- src/render/openglgraphicsdef.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/openglgraphicsdef.hpp') 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; -- cgit v1.2.3-70-g09d2