summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-06 17:58:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-06 17:58:07 +0300
commit4f7e38d218848bd34bd86dda75446881dad2bb32 (patch)
tree3333e686b0d0a579b8151fac0d0faa235f4e145b /src/resources/sdl2imagehelper.cpp
parentc649cf883480071c9b93909c4ea4ee5ec98155b2 (diff)
downloadplus-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.gz
plus-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.bz2
plus-4f7e38d218848bd34bd86dda75446881dad2bb32.tar.xz
plus-4f7e38d218848bd34bd86dda75446881dad2bb32.zip
Fix compilation with some options.
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 e9d0f11e9..c671a60c1 100644
--- a/src/resources/sdl2imagehelper.cpp
+++ b/src/resources/sdl2imagehelper.cpp
@@ -52,7 +52,7 @@ Image *SDLImageHelper::load(SDL_Surface *const tmpImage)
Image *SDLImageHelper::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;