From 10519e881b3635b7189cd4831fdd70c4806b240c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Dec 2013 01:05:47 +0300 Subject: add restrict into surfaceimagehelper. --- src/resources/surfaceimagehelper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/resources/surfaceimagehelper.cpp') diff --git a/src/resources/surfaceimagehelper.cpp b/src/resources/surfaceimagehelper.cpp index 22aa904f5..aaecc2b71 100644 --- a/src/resources/surfaceimagehelper.cpp +++ b/src/resources/surfaceimagehelper.cpp @@ -167,10 +167,10 @@ SDL_Surface *SurfaceImageHelper::create32BitSurface(int width, width, height, 32, rmask, gmask, bmask, amask); } -int SurfaceImageHelper::combineSurface(SDL_Surface *const src, - SDL_Rect *const srcrect, - SDL_Surface *const dst, - SDL_Rect *const dstrect) +int SurfaceImageHelper::combineSurface(SDL_Surface *restrict const src, + SDL_Rect *restrict const srcrect, + SDL_Surface *restrict const dst, + SDL_Rect *restrict const dstrect) { SDL_SetSurfaceBlendMode(src, SDL_BLENDMODE_BLEND); SDL_BlitSurface(src, srcrect, dst, dstrect); -- cgit v1.2.3-60-g2f50