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/sdl2softwaregraphics.cpp | |
parent | 22e43e0f0d16fc207e3d3b7df013c50e0bfb17d7 (diff) | |
download | mv-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.cpp | 2 |
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. |