summaryrefslogtreecommitdiff
path: root/src/render/imagegraphics.cpp
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/imagegraphics.cpp
parent1f4cf5720cd6c432c2544d34a804c96b8c7858f0 (diff)
downloadmv-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.gz
mv-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.bz2
mv-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.xz
mv-f0f4f43d1263f946be23b75de4de28a4731cc93a.zip
Add restrict keyword into graphicsdef.hpp
Diffstat (limited to 'src/render/imagegraphics.cpp')
-rw-r--r--src/render/imagegraphics.cpp14
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
{
}