From 4f7e38d218848bd34bd86dda75446881dad2bb32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Jun 2014 17:58:07 +0300 Subject: Fix compilation with some options. --- src/resources/surfaceimagehelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/surfaceimagehelper.cpp') diff --git a/src/resources/surfaceimagehelper.cpp b/src/resources/surfaceimagehelper.cpp index ec7d9af9b..158cad94b 100644 --- a/src/resources/surfaceimagehelper.cpp +++ b/src/resources/surfaceimagehelper.cpp @@ -40,7 +40,7 @@ bool SurfaceImageHelper::mEnableAlphaCache = false; -Image *SurfaceImageHelper::load(SDL_Surface *const tmpImage) const +Image *SurfaceImageHelper::load(SDL_Surface *const tmpImage) { return _SDLload(tmpImage); } @@ -48,7 +48,7 @@ Image *SurfaceImageHelper::load(SDL_Surface *const tmpImage) const Image *SurfaceImageHelper::createTextSurface(SDL_Surface *const tmpImage, const int width A_UNUSED, const int height A_UNUSED, - const float alpha) const + const float alpha) { if (!tmpImage) return nullptr; -- cgit v1.2.3-60-g2f50