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/normalopenglgraphics.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/normalopenglgraphics.h')
-rw-r--r-- | src/render/normalopenglgraphics.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h index 4262b5aab..05014deed 100644 --- a/src/render/normalopenglgraphics.h +++ b/src/render/normalopenglgraphics.h @@ -55,26 +55,26 @@ class NormalOpenGLGraphics final : public Graphics ~NormalOpenGLGraphics(); - inline void drawQuadArrayfi(const int size) restrict2; + inline void drawQuadArrayfi(const int size) restrict2 A_INLINE; - inline void drawQuadArrayfiCached(const int size) restrict2; + inline void drawQuadArrayfiCached(const int size) restrict2 A_INLINE; inline void drawQuadArrayfi(const GLint *restrict const intVertArray, const GLfloat *restrict const floatTexArray, - const int size) restrict2; + const int size) restrict2 A_INLINE; - inline void drawQuadArrayii(const int size) restrict2; + inline void drawQuadArrayii(const int size) restrict2 A_INLINE; - inline void drawQuadArrayiiCached(const int size) restrict2; + inline void drawQuadArrayiiCached(const int size) restrict2 A_INLINE; inline void drawQuadArrayii(const GLint *restrict const intVertArray, const GLint *restrict const intTexArray, - const int size) restrict2; + const int size) restrict2 A_INLINE; - inline void drawLineArrayi(const int size) restrict2; + inline void drawLineArrayi(const int size) restrict2 A_INLINE; - inline void drawLineArrayf(const int size) restrict2; + inline void drawLineArrayf(const int size) restrict2 A_INLINE; void testDraw() restrict2 override final; |