From 757df49cbbce33bba23ec0d642da3901f3ec5bbd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Aug 2014 13:33:43 +0300 Subject: add missing consts. --- src/resources/sdlimagehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/sdlimagehelper.cpp') diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index 2f9594487..b4e7007f6 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -284,7 +284,7 @@ int SDLImageHelper::combineSurface(SDL_Surface *restrict const src, return SDL_gfxBlitRGBA(src, srcrect, dst, dstrect); } -void SDLImageHelper::copySurfaceToImage(Image *const image, +void SDLImageHelper::copySurfaceToImage(const Image *const image, const int x, const int y, SDL_Surface *const surface) const { -- cgit v1.2.3-60-g2f50