summaryrefslogtreecommitdiff
path: root/src/resources/sdlimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-03 13:33:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-03 13:33:43 +0300
commit757df49cbbce33bba23ec0d642da3901f3ec5bbd (patch)
tree4d3d49a544c070e120e95e0007b19d79657eb9a9 /src/resources/sdlimagehelper.cpp
parent8b2464a723f7039a3efbc0c7d2e883729b3fa7dd (diff)
downloadmv-757df49cbbce33bba23ec0d642da3901f3ec5bbd.tar.gz
mv-757df49cbbce33bba23ec0d642da3901f3ec5bbd.tar.bz2
mv-757df49cbbce33bba23ec0d642da3901f3ec5bbd.tar.xz
mv-757df49cbbce33bba23ec0d642da3901f3ec5bbd.zip
add missing consts.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r--src/resources/sdlimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
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
{