summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2imagehelper.cpp')
-rw-r--r--src/resources/sdl2imagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdl2imagehelper.cpp b/src/resources/sdl2imagehelper.cpp
index 12e975ae6..da8575ed6 100644
--- a/src/resources/sdl2imagehelper.cpp
+++ b/src/resources/sdl2imagehelper.cpp
@@ -94,7 +94,7 @@ int SDLImageHelper::combineSurface(SDL_Surface *restrict const src,
return 1;
}
-void SDLImageHelper::copySurfaceToImage(Image *const image,
+void SDLImageHelper::copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *const surface) const
{