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/mobileopenglgraphics.h | |
parent | 2b60803357db480eb5214a758a54363d4172987e (diff) | |
download | manaverse-35d742677a59b4340b24f703bad666f3700b14b5.tar.gz manaverse-35d742677a59b4340b24f703bad666f3700b14b5.tar.bz2 manaverse-35d742677a59b4340b24f703bad666f3700b14b5.tar.xz manaverse-35d742677a59b4340b24f703bad666f3700b14b5.zip |
Use inline attribute in some critial performance functions.
Diffstat (limited to 'src/render/mobileopenglgraphics.h')
-rw-r--r-- | src/render/mobileopenglgraphics.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/render/mobileopenglgraphics.h b/src/render/mobileopenglgraphics.h index d6356d8ce..7af81a4c8 100644 --- a/src/render/mobileopenglgraphics.h +++ b/src/render/mobileopenglgraphics.h @@ -61,13 +61,14 @@ class MobileOpenGLGraphics final : public Graphics shortVertArray, const GLfloat *restrict const floatTexArray, - const int size) restrict2; + const int size) restrict2 A_INLINE; - inline void drawTriangleArrayfs(const int size) restrict2; + inline void drawTriangleArrayfs(const int size) restrict2 A_INLINE; - inline void drawTriangleArrayfsCached(const int size) restrict2; + inline void drawTriangleArrayfsCached(const int size) + restrict2 A_INLINE; - inline void drawLineArrays(const int size) restrict2; + inline void drawLineArrays(const int size) restrict2 A_INLINE; #include "render/graphicsdef.hpp" |