summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 01:53:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 01:53:38 +0300
commit953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (patch)
treecdbcddc0713a61695d355aa65c93a0ae8477bd29 /src/render/sdl2softwaregraphics.cpp
parent22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7 (diff)
downloadmv-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.tar.gz
mv-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.tar.bz2
mv-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.tar.xz
mv-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.zip
Add restrict keyword in softwaregraphicsdef.hpp
Diffstat (limited to 'src/render/sdl2softwaregraphics.cpp')
-rw-r--r--src/render/sdl2softwaregraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 841cd18bb..8e777fb15 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -705,7 +705,7 @@ void SDL2SoftwareGraphics::calcTileVertexesInline(ImageVertexes *
calcTileSDL(vert, x, y);
}
-void SDL2SoftwareGraphics::calcTileSDL(ImageVertexes *const vert,
+void SDL2SoftwareGraphics::calcTileSDL(ImageVertexes *restrict const vert,
int x, int y) const restrict2
{
// Check that preconditions for blitting are met.