From 046fb273066f538da94ae488f02d43665d9a39c5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Dec 2015 02:46:38 +0300 Subject: Add restrict keyword into graphics. --- src/render/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/graphics.cpp') 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; -- cgit v1.2.3-60-g2f50