summaryrefslogtreecommitdiff
path: root/src/render/graphicsdef.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphicsdef.hpp')
-rw-r--r--src/render/graphicsdef.hpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp
index 0b077d373..e7b775ff0 100644
--- a/src/render/graphicsdef.hpp
+++ b/src/render/graphicsdef.hpp
@@ -52,7 +52,7 @@ public:
void inline drawPatternInline(const Image *restrict const image,
const int x, const int y,
- const int w, const int h) restrict2;
+ const int w, const int h) restrict2 A_INLINE;
void drawRescaledPattern(const Image *restrict const image,
const int x, const int y,
@@ -128,16 +128,21 @@ private:
void inline calcImageRect(ImageVertexes *restrict const vert,
int x, int y,
int w, int h,
- const ImageRect &restrict imgRect) restrict2;
+ const ImageRect &restrict imgRect)
+ restrict2 A_INLINE;
void inline calcPatternInline(ImageVertexes *restrict const vert,
const Image *restrict const image,
- const int x, const int y,
- const int w, const int h) const restrict2;
+ const int x,
+ const int y,
+ const int w,
+ const int h) const restrict2 A_INLINE;
void inline calcTileVertexesInline(ImageVertexes *restrict const vert,
const Image *restrict const image,
- int x, int y) const restrict2;
+ int x,
+ int y) const restrict2 A_INLINE;
void inline drawImageInline(const Image *restrict const image,
- int dstX, int dstY) restrict2;
+ int dstX,
+ int dstY) restrict2 A_INLINE;