diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 01:05:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 01:05:47 +0300 |
commit | 10519e881b3635b7189cd4831fdd70c4806b240c (patch) | |
tree | a0b0d8d3a2d0025c297f07ac41dfcdfeeb961f80 /src/resources/surfaceimagehelper.h | |
parent | 1da23ac3e176da216c626ba7ce1320ff08efafdb (diff) | |
download | plus-10519e881b3635b7189cd4831fdd70c4806b240c.tar.gz plus-10519e881b3635b7189cd4831fdd70c4806b240c.tar.bz2 plus-10519e881b3635b7189cd4831fdd70c4806b240c.tar.xz plus-10519e881b3635b7189cd4831fdd70c4806b240c.zip |
add restrict into surfaceimagehelper.
Diffstat (limited to 'src/resources/surfaceimagehelper.h')
-rw-r--r-- | src/resources/surfaceimagehelper.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/surfaceimagehelper.h b/src/resources/surfaceimagehelper.h index 75a39c617..39efa1d4d 100644 --- a/src/resources/surfaceimagehelper.h +++ b/src/resources/surfaceimagehelper.h @@ -94,10 +94,10 @@ class SurfaceImageHelper final : public ImageHelper SDL_Surface *create32BitSurface(int width, int height) const override final; - static int combineSurface(SDL_Surface *const src, - SDL_Rect *const srcrect, - SDL_Surface *const dst, - SDL_Rect *const dstrect); + static int combineSurface(SDL_Surface *restrict const src, + SDL_Rect *restrict const srcrect, + SDL_Surface *restrict const dst, + SDL_Rect *restrict const dstrect); protected: /** SDL_Surface to SDL_Surface Image loader */ |