summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.h
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/mobileopenglgraphics.h
parent2b60803357db480eb5214a758a54363d4172987e (diff)
downloadmanaplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.gz
manaplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.bz2
manaplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.xz
manaplus-35d742677a59b4340b24f703bad666f3700b14b5.zip
Use inline attribute in some critial performance functions.
Diffstat (limited to 'src/render/mobileopenglgraphics.h')
-rw-r--r--src/render/mobileopenglgraphics.h9
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"