diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:55:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:55:43 +0300 |
commit | c042350256ddfb7a4ac276a0bc98c3d2673708de (patch) | |
tree | 13967414b2bb3a30118902b5c85d6cd4a70c5301 /src/resources/sdl2softwareimagehelper.cpp | |
parent | 464afe0bfe3157fa931d492055a3c001bf50312e (diff) | |
download | plus-c042350256ddfb7a4ac276a0bc98c3d2673708de.tar.gz plus-c042350256ddfb7a4ac276a0bc98c3d2673708de.tar.bz2 plus-c042350256ddfb7a4ac276a0bc98c3d2673708de.tar.xz plus-c042350256ddfb7a4ac276a0bc98c3d2673708de.zip |
add restrict into sdl2softwareimagehelper.
Diffstat (limited to 'src/resources/sdl2softwareimagehelper.cpp')
-rw-r--r-- | src/resources/sdl2softwareimagehelper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/sdl2softwareimagehelper.cpp b/src/resources/sdl2softwareimagehelper.cpp index 2886c3ff6..a8ca5cd89 100644 --- a/src/resources/sdl2softwareimagehelper.cpp +++ b/src/resources/sdl2softwareimagehelper.cpp @@ -159,10 +159,10 @@ SDL_Surface *SDL2SoftwareImageHelper::create32BitSurface(int width, width, height, 32, rmask, gmask, bmask, amask); } -int SDL2SoftwareImageHelper::combineSurface(SDL_Surface *const src, - SDL_Rect *const srcrect, - SDL_Surface *const dst, - SDL_Rect *const dstrect) +int SDL2SoftwareImageHelper::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); |