From b70bbf075a20524e6c1859fb18db0865c65182ca Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 24 Aug 2013 15:31:36 +0300 Subject: move surface combination into sdlimagehelper. --- src/resources/sdl2imagehelper.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/resources/sdl2imagehelper.h') diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h index e0629aea3..9edd48ebe 100644 --- a/src/resources/sdl2imagehelper.h +++ b/src/resources/sdl2imagehelper.h @@ -89,6 +89,11 @@ class SDLImageHelper final : public ImageHelper SDL_Surface *create32BitSurface(int width, int height) const override; + static int combineSurface(SDL_Surface *const src, + SDL_Rect *const srcrect, + SDL_Surface *const dst, + SDL_Rect *const dstrect); + protected: /** SDL_Surface to SDL_Surface Image loader */ Image *_SDLload(SDL_Surface *tmpImage) const A_WARN_UNUSED; -- cgit v1.2.3-60-g2f50