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.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/sdlimagehelper.h') diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h index 731e1a14e..4e1f37a7b 100644 --- a/src/resources/sdlimagehelper.h +++ b/src/resources/sdlimagehelper.h @@ -67,7 +67,8 @@ class SDLImageHelper final : public ImageHelper /** * Loads an image from an SDL surface. */ - Image *load(SDL_Surface *const tmpImage) override final A_WARN_UNUSED; + Image *loadSurface(SDL_Surface *const tmpImage) override final + A_WARN_UNUSED; Image *createTextSurface(SDL_Surface *const tmpImage, const int width, const int height, -- cgit v1.2.3-70-g09d2