diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-06 17:58:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-06 17:58:07 +0300 |
commit | 4f7e38d218848bd34bd86dda75446881dad2bb32 (patch) | |
tree | 3333e686b0d0a579b8151fac0d0faa235f4e145b /src/resources/surfaceimagehelper.cpp | |
parent | c649cf883480071c9b93909c4ea4ee5ec98155b2 (diff) | |
download | manaverse-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.gz manaverse-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.bz2 manaverse-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.xz manaverse-4f7e38d218848bd34bd86dda75446881dad2bb32.zip |
Fix compilation with some options.
Diffstat (limited to 'src/resources/surfaceimagehelper.cpp')
-rw-r--r-- | src/resources/surfaceimagehelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |