diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-25 00:31:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-25 00:31:58 +0300 |
commit | f0f4f43d1263f946be23b75de4de28a4731cc93a (patch) | |
tree | a572d7d28c42f727c94a70d3eedb03c2c63248b2 /src/render/imagegraphics.cpp | |
parent | 1f4cf5720cd6c432c2544d34a804c96b8c7858f0 (diff) | |
download | plus-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/imagegraphics.cpp')
-rw-r--r-- | src/render/imagegraphics.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/imagegraphics.cpp b/src/render/imagegraphics.cpp index 2ae368d76..7d56f1ffd 100644 --- a/src/render/imagegraphics.cpp +++ b/src/render/imagegraphics.cpp @@ -40,26 +40,26 @@ ImegeGraphics::~ImegeGraphics() { } -void ImegeGraphics::drawImage(const Image *const image A_UNUSED, - int dstX A_UNUSED, int dstY A_UNUSED) +void ImegeGraphics::drawImage(const Image *restrict const image A_UNUSED, + int dstX A_UNUSED, int dstY A_UNUSED) restrict2 { // for now not implimented } -void ImegeGraphics::copyImage(const Image *const image, - int dstX A_UNUSED, int dstY A_UNUSED) +void ImegeGraphics::copyImage(const Image *restrict const image, + int dstX A_UNUSED, int dstY A_UNUSED) restrict2 { if (!mTarget || !image) return; } -void ImegeGraphics::drawImageCached(const Image *const image, - int x, int y) +void ImegeGraphics::drawImageCached(const Image *restrict const image, + int x, int y) restrict2 { drawImage(image, x, y); } -void ImegeGraphics::completeCache() +void ImegeGraphics::completeCache() restrict2 { } |