summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 00:31:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 00:31:58 +0300
commitf0f4f43d1263f946be23b75de4de28a4731cc93a (patch)
treea572d7d28c42f727c94a70d3eedb03c2c63248b2 /src/render/surfacegraphics.h
parent1f4cf5720cd6c432c2544d34a804c96b8c7858f0 (diff)
downloadplus-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.gz
plus-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.bz2
plus-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.xz
plus-f0f4f43d1263f946be23b75de4de28a4731cc93a.zip
Add restrict keyword into graphicsdef.hpp
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 1de7cbc71..6c821ebfd 100644
--- a/src/render/surfacegraphics.h
+++ b/src/render/surfacegraphics.h
@@ -62,7 +62,7 @@ class SurfaceGraphics final : public Graphics
void pushClipArea(const Rect &rect A_UNUSED) override final
{ }
- void popClipArea() override final
+ void popClipArea() restrict2 override final
{ }
void drawRescaledImage(const Image *const image A_UNUSED,
@@ -169,14 +169,14 @@ class SurfaceGraphics final : public Graphics
const int bpp A_UNUSED,
const bool fs A_UNUSED, const bool hwaccel A_UNUSED,
const bool resize A_UNUSED,
- const bool noFrame A_UNUSED) override final
+ const bool noFrame A_UNUSED) restrict2 override final
{ return false; }
void drawImage(const Image *const image,
int dstX, int dstY) override final;
void copyImage(const Image *const image,
- int dstX, int dstY) override final;
+ int dstX, int dstY) restrict2 override final;
void drawImageCached(const Image *const image,
int x, int y) override final;