diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:54:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:54:11 +0300 |
commit | 464afe0bfe3157fa931d492055a3c001bf50312e (patch) | |
tree | 5c2a5cd06211a0624de986db3c4fc54f703d0eef /src/resources/sdl2imagehelper.h | |
parent | ded3b455e53af47b190abb6050a2a8ba520855c3 (diff) | |
download | plus-464afe0bfe3157fa931d492055a3c001bf50312e.tar.gz plus-464afe0bfe3157fa931d492055a3c001bf50312e.tar.bz2 plus-464afe0bfe3157fa931d492055a3c001bf50312e.tar.xz plus-464afe0bfe3157fa931d492055a3c001bf50312e.zip |
add restrict into sdl2imagehelper.
Diffstat (limited to 'src/resources/sdl2imagehelper.h')
-rw-r--r-- | src/resources/sdl2imagehelper.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h index d951422e5..46914e2a2 100644 --- a/src/resources/sdl2imagehelper.h +++ b/src/resources/sdl2imagehelper.h @@ -86,10 +86,10 @@ class SDLImageHelper 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); #ifdef USE_SDL2 static void setRenderer(SDL_Renderer *const renderer) |