summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r--src/render/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index a879d96a4..fc1bb6223 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -471,7 +471,7 @@ bool Graphics::videoInfo()
ImageHelper::dumpSurfaceFormat(mWindow);
- const SDL_VideoInfo *const vi = SDL_GetVideoInfo();
+ const SDL_VideoInfo *restrict const vi = SDL_GetVideoInfo();
if (!vi)
return false;