diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:53:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-25 01:53:38 +0300 |
commit | 953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d (patch) | |
tree | cdbcddc0713a61695d355aa65c93a0ae8477bd29 /src/render/sdlgraphics.cpp | |
parent | 22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7 (diff) | |
download | manaplus-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.tar.gz manaplus-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.tar.bz2 manaplus-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.tar.xz manaplus-953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d.zip |
Add restrict keyword in softwaregraphicsdef.hpp
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r-- | src/render/sdlgraphics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index a31ae0ca3..7743644f2 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -686,7 +686,8 @@ void SDLGraphics::calcTileVertexesInline(ImageVertexes *restrict const vert, calcTileSDL(vert, x, y); } -void SDLGraphics::calcTileSDL(ImageVertexes *const vert, int x, int y) const +void SDLGraphics::calcTileSDL(ImageVertexes *restrict const vert, + int x, int y) const restrict2 { // Check that preconditions for blitting are met. if (!vert || !vert->image || !vert->image->mSDLSurface) |