summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwareimagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2softwareimagehelper.h')
-rw-r--r--src/resources/sdl2softwareimagehelper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/sdl2softwareimagehelper.h b/src/resources/sdl2softwareimagehelper.h
index 906e9a9b0..a63f45933 100644
--- a/src/resources/sdl2softwareimagehelper.h
+++ b/src/resources/sdl2softwareimagehelper.h
@@ -86,10 +86,10 @@ class SDL2SoftwareImageHelper 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);
static void setFormat(SDL_PixelFormat *const format)
{