diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:57:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:57:13 +0300 |
commit | 754b514a1fcccc88d7ea191255c60fb70bbd70f1 (patch) | |
tree | b318ef00dfb1f42722ce7f0d6b0a48d4e510f1bf /src/resources/sdlimagehelper.cpp | |
parent | c042350256ddfb7a4ac276a0bc98c3d2673708de (diff) | |
download | mv-754b514a1fcccc88d7ea191255c60fb70bbd70f1.tar.gz mv-754b514a1fcccc88d7ea191255c60fb70bbd70f1.tar.bz2 mv-754b514a1fcccc88d7ea191255c60fb70bbd70f1.tar.xz mv-754b514a1fcccc88d7ea191255c60fb70bbd70f1.zip |
add restrict into sdlimagehelper.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index f39ecf4cd..6e198b457 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -294,10 +294,10 @@ SDL_Surface *SDLImageHelper::create32BitSurface(int width, int height) const width, height, 32, rmask, gmask, bmask, amask); } -int SDLImageHelper::combineSurface(SDL_Surface *const src, - SDL_Rect *const srcrect, - SDL_Surface *const dst, - SDL_Rect *const dstrect) +int SDLImageHelper::combineSurface(SDL_Surface *restrict const src, + SDL_Rect *restrict const srcrect, + SDL_Surface *restrict const dst, + SDL_Rect *restrict const dstrect) { return SDL_gfxBlitRGBA(src, srcrect, dst, dstrect); } |