diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-28 20:18:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-28 20:26:01 +0300 |
commit | fdfd38278cba5fa37d203d0d29b4981e400a529a (patch) | |
tree | fbad0c8bcdb2f6c9885d30e9d816761b6e89a0e7 /src/resources/image.cpp | |
parent | dda65b8fb01ac399af8fa44085db3cd9ab6cef2b (diff) | |
download | plus-fdfd38278cba5fa37d203d0d29b4981e400a529a.tar.gz plus-fdfd38278cba5fa37d203d0d29b4981e400a529a.tar.bz2 plus-fdfd38278cba5fa37d203d0d29b4981e400a529a.tar.xz plus-fdfd38278cba5fa37d203d0d29b4981e400a529a.zip |
Fix overload virtual warning with SDL2.
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r-- | src/resources/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp index aaa779360..a537ebc75 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -428,7 +428,7 @@ Image* Image::SDLgetScaledImage(const int width, const int height) const // and about freeing the given SDL_surface*. if (scaledSurface) { - scaledImage = imageHelper->load(scaledSurface); + scaledImage = imageHelper->loadSurface(scaledSurface); MSDL_FreeSurface(scaledSurface); } } |