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/sdlgraphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/render/sdlgraphics.cpp') 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) -- cgit v1.2.3-60-g2f50