summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 20:25:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 20:25:38 +0300
commit104df5cae8521f4a234381567b19e6b4da3ff1f0 (patch)
tree2789b318f3f2d977bdd01921ae69c4f476954476 /src/render/sdl2graphics.h
parentc456cb3f7eea27839c4b2689d77ddc09926fb8c6 (diff)
downloadmanaverse-104df5cae8521f4a234381567b19e6b4da3ff1f0.tar.gz
manaverse-104df5cae8521f4a234381567b19e6b4da3ff1f0.tar.bz2
manaverse-104df5cae8521f4a234381567b19e6b4da3ff1f0.tar.xz
manaverse-104df5cae8521f4a234381567b19e6b4da3ff1f0.zip
Add restrict keyword to all renderers.
Diffstat (limited to 'src/render/sdl2graphics.h')
-rw-r--r--src/render/sdl2graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/sdl2graphics.h b/src/render/sdl2graphics.h
index 7c4b883d6..294506bf4 100644
--- a/src/render/sdl2graphics.h
+++ b/src/render/sdl2graphics.h
@@ -97,7 +97,7 @@ class SDLGraphics final : public Graphics
*/
~SDLGraphics();
- void setRendererFlags(const uint32_t flags)
+ void setRendererFlags(const uint32_t flags) restrict
{ mRendererFlags = flags; }
#include "render/graphicsdef.hpp"