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/nullopenglgraphics.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/render/nullopenglgraphics.h') diff --git a/src/render/nullopenglgraphics.h b/src/render/nullopenglgraphics.h index 57506125c..fb7cdc806 100644 --- a/src/render/nullopenglgraphics.h +++ b/src/render/nullopenglgraphics.h @@ -55,22 +55,22 @@ class NullOpenGLGraphics final : public Graphics ~NullOpenGLGraphics(); - inline void drawQuadArrayfi(const int size) restrict2; + inline void drawQuadArrayfi(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 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; #include "render/graphicsdef.hpp" -- cgit v1.2.3-60-g2f50