From 3173688b7c1a1027257aa057039bd50738ac8bb5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 17:57:21 +0300 Subject: In renderers in function calcTileVertexes add non null attributes. --- src/render/graphicsdef.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/render/graphicsdef.hpp') 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, -- cgit v1.2.3-70-g09d2