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/mobileopenglgraphics.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/render/mobileopenglgraphics.h') 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" -- cgit v1.2.3-60-g2f50