From 953949fa4a61b2c9c4e53ccea2c2f7b28f79e62d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Dec 2015 01:53:38 +0300 Subject: Add restrict keyword in softwaregraphicsdef.hpp --- src/render/sdl2softwaregraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/sdl2softwaregraphics.cpp') 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. -- cgit v1.2.3-70-g09d2