summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdl2graphics.cpp')
-rw-r--r--src/render/sdl2graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index 4910e15aa..a8a4962d9 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -506,7 +506,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->mTexture)