From fdfd38278cba5fa37d203d0d29b4981e400a529a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 20:18:27 +0300 Subject: Fix overload virtual warning with SDL2. --- src/resources/sdlimagehelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/sdlimagehelper.cpp') diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index e61391d14..ad046221f 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -102,12 +102,12 @@ Image *SDLImageHelper::load(SDL_RWops *const rw, Dye const &dye) } } - Image *const image = load(surf); + Image *const image = loadSurface(surf); MSDL_FreeSurface(surf); return image; } -Image *SDLImageHelper::load(SDL_Surface *const tmpImage) +Image *SDLImageHelper::loadSurface(SDL_Surface *const tmpImage) { return _SDLload(tmpImage); } -- cgit v1.2.3-70-g09d2