summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
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/graphics.h
parent852617a2ea3cfe83c1d0aec134d9369aa5c3af7b (diff)
downloadmv-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.gz
mv-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.bz2
mv-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.xz
mv-3173688b7c1a1027257aa057039bd50738ac8bb5.zip
In renderers in function calcTileVertexes add non null attributes.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index e72f8d1d6..98cfa899e 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -210,7 +210,8 @@ class Graphics notfinal
virtual void calcTileVertexes(ImageVertexes *restrict const vert,
const Image *restrict const image,
- int x, int y) const restrict2 = 0;
+ int x,
+ int y) const restrict2 A_NONNULL(2, 3) = 0;
virtual void calcTileSDL(ImageVertexes *restrict const vert A_UNUSED,
int x A_UNUSED,