From f0f4f43d1263f946be23b75de4de28a4731cc93a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Dec 2015 00:31:58 +0300 Subject: Add restrict keyword into graphicsdef.hpp --- src/render/imagegraphics.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/render/imagegraphics.cpp') diff --git a/src/render/imagegraphics.cpp b/src/render/imagegraphics.cpp index 2ae368d76..7d56f1ffd 100644 --- a/src/render/imagegraphics.cpp +++ b/src/render/imagegraphics.cpp @@ -40,26 +40,26 @@ ImegeGraphics::~ImegeGraphics() { } -void ImegeGraphics::drawImage(const Image *const image A_UNUSED, - int dstX A_UNUSED, int dstY A_UNUSED) +void ImegeGraphics::drawImage(const Image *restrict const image A_UNUSED, + int dstX A_UNUSED, int dstY A_UNUSED) restrict2 { // for now not implimented } -void ImegeGraphics::copyImage(const Image *const image, - int dstX A_UNUSED, int dstY A_UNUSED) +void ImegeGraphics::copyImage(const Image *restrict const image, + int dstX A_UNUSED, int dstY A_UNUSED) restrict2 { if (!mTarget || !image) return; } -void ImegeGraphics::drawImageCached(const Image *const image, - int x, int y) +void ImegeGraphics::drawImageCached(const Image *restrict const image, + int x, int y) restrict2 { drawImage(image, x, y); } -void ImegeGraphics::completeCache() +void ImegeGraphics::completeCache() restrict2 { } -- cgit v1.2.3-60-g2f50