diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-24 02:46:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-24 02:46:38 +0300 |
commit | 046fb273066f538da94ae488f02d43665d9a39c5 (patch) | |
tree | 4f8773c9a99dbf8fa92d6a0da3aaa52022107ee6 /src/render/graphics.cpp | |
parent | 2a6d489d8c576988cddaabb8bd5f7e1647ba81e0 (diff) | |
download | plus-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.cpp | 2 |
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; |