summaryrefslogtreecommitdiff
path: root/src/render/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-24 02:46:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-24 02:46:38 +0300
commit046fb273066f538da94ae488f02d43665d9a39c5 (patch)
tree4f8773c9a99dbf8fa92d6a0da3aaa52022107ee6 /src/render/graphics.cpp
parent2a6d489d8c576988cddaabb8bd5f7e1647ba81e0 (diff)
downloadplus-046fb273066f538da94ae488f02d43665d9a39c5.tar.gz
plus-046fb273066f538da94ae488f02d43665d9a39c5.tar.bz2
plus-046fb273066f538da94ae488f02d43665d9a39c5.tar.xz
plus-046fb273066f538da94ae488f02d43665d9a39c5.zip
Add restrict keyword into graphics.
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;