summaryrefslogtreecommitdiff
path: root/src/render/graphicsdef.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 17:57:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 17:57:21 +0300
commit3173688b7c1a1027257aa057039bd50738ac8bb5 (patch)
treeba415bfcc8e196a1e92eeed851778f957265dee6 /src/render/graphicsdef.hpp
parent852617a2ea3cfe83c1d0aec134d9369aa5c3af7b (diff)
downloadplus-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.gz
plus-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.bz2
plus-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.xz
plus-3173688b7c1a1027257aa057039bd50738ac8bb5.zip
In renderers in function calcTileVertexes add non null attributes.
Diffstat (limited to 'src/render/graphicsdef.hpp')
-rw-r--r--src/render/graphicsdef.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/graphicsdef.hpp b/src/render/graphicsdef.hpp
index e7b775ff0..0a4f66317 100644
--- a/src/render/graphicsdef.hpp
+++ b/src/render/graphicsdef.hpp
@@ -72,7 +72,8 @@ public:
void calcTileVertexes(ImageVertexes *restrict const vert,
const Image *restrict const image,
- int x, int y) const restrict2 override final;
+ int x, int y) const restrict2 override final
+ A_NONNULL(2, 3);
void calcTileCollection(ImageCollection *restrict const vertCol,
const Image *restrict const image,
@@ -141,7 +142,8 @@ private:
void inline calcTileVertexesInline(ImageVertexes *restrict const vert,
const Image *restrict const image,
int x,
- int y) const restrict2 A_INLINE;
+ int y) const restrict2
+ A_INLINE A_NONNULL(2, 3);
void inline drawImageInline(const Image *restrict const image,
int dstX,