summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.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/surfacegraphics.cpp
parent1f4cf5720cd6c432c2544d34a804c96b8c7858f0 (diff)
downloadmanaplus-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.gz
manaplus-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.bz2
manaplus-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.xz
manaplus-f0f4f43d1263f946be23b75de4de28a4731cc93a.zip
Add restrict keyword into graphicsdef.hpp
Diffstat (limited to 'src/render/surfacegraphics.cpp')
-rw-r--r--src/render/surfacegraphics.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/surfacegraphics.cpp b/src/render/surfacegraphics.cpp
index e94aba5a5..b5d710ec4 100644
--- a/src/render/surfacegraphics.cpp
+++ b/src/render/surfacegraphics.cpp
@@ -40,8 +40,8 @@ SurfaceGraphics::~SurfaceGraphics()
{
}
-void SurfaceGraphics::drawImage(const Image *const image,
- int dstX, int dstY)
+void SurfaceGraphics::drawImage(const Image *restrict const image,
+ int dstX, int dstY) restrict2
{
FUNC_BLOCK("Graphics::drawImage", 1)
// Check that preconditions for blitting are met.
@@ -73,8 +73,8 @@ void SurfaceGraphics::drawImage(const Image *const image,
#endif
}
-void SurfaceGraphics::copyImage(const Image *const image,
- int dstX, int dstY)
+void SurfaceGraphics::copyImage(const Image *restrict const image,
+ int dstX, int dstY) restrict2
{
FUNC_BLOCK("Graphics::drawImage", 1)
// Check that preconditions for blitting are met.
@@ -99,8 +99,8 @@ void SurfaceGraphics::copyImage(const Image *const image,
#endif
}
-void SurfaceGraphics::drawImageCached(const Image *const image,
- int x, int y)
+void SurfaceGraphics::drawImageCached(const Image *restrict const image,
+ int x, int y) restrict2
{
FUNC_BLOCK("Graphics::drawImageCached", 1)
// Check that preconditions for blitting are met.
@@ -133,6 +133,6 @@ void SurfaceGraphics::drawImageCached(const Image *const image,
#endif
}
-void SurfaceGraphics::completeCache()
+void SurfaceGraphics::completeCache() restrict2
{
}