diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-15 20:54:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-15 20:54:59 +0300 |
commit | 7b26645c1b28b212c011f98a5420c0989a7f0adc (patch) | |
tree | 0a3231b3cb54f415473c9834b88657b76b2668d6 /src/resources/imagehelper.cpp | |
parent | 054ed0b25bffc50588ff8c11a0aef4ee74c8136d (diff) | |
download | manaplus-7b26645c1b28b212c011f98a5420c0989a7f0adc.tar.gz manaplus-7b26645c1b28b212c011f98a5420c0989a7f0adc.tar.bz2 manaplus-7b26645c1b28b212c011f98a5420c0989a7f0adc.tar.xz manaplus-7b26645c1b28b212c011f98a5420c0989a7f0adc.zip |
improve imagehelper class.
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r-- | src/resources/imagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imagehelper.cpp b/src/resources/imagehelper.cpp index b0e02b75f..6a4a47505 100644 --- a/src/resources/imagehelper.cpp +++ b/src/resources/imagehelper.cpp @@ -41,7 +41,7 @@ ImageHelper *sdlImageHelper = nullptr; bool ImageHelper::mEnableAlpha = true; -Image *ImageHelper::load(SDL_RWops *const rw) +Image *ImageHelper::load(SDL_RWops *const rw) const { SDL_Surface *const tmpImage = loadPng(rw); if (!tmpImage) |