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.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/render/mobileopenglgraphics.cpp') diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index f703ff667..fb4651409 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -163,7 +163,7 @@ static inline void drawQuad(const Image *restrict const image, const int dstX, const int dstY, const int width, - const int height) A_NONNULL(1); + const int height) A_NONNULL(1) A_INLINE; static inline void drawQuad(const Image *restrict const image, const int srcX, @@ -215,7 +215,8 @@ static inline void drawRescaledQuad(const Image *restrict const image, const int dstX, const int dstY, const int width, const int height, const int desiredWidth, - const int desiredHeight) A_NONNULL(1); + const int desiredHeight) + A_NONNULL(1) A_INLINE; static inline void drawRescaledQuad(const Image *restrict const image, const int srcX, const int srcY, -- cgit v1.2.3-70-g09d2