From 62e2ccbb158f146e2c3ceab14ff5581d3f3975ef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Jul 2014 21:57:46 +0300 Subject: Add to image helper function to copy surface into part of image. --- src/resources/sdlimagehelper.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/resources/sdlimagehelper.h') diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h index c80a7ba2b..9ab12368f 100644 --- a/src/resources/sdlimagehelper.h +++ b/src/resources/sdlimagehelper.h @@ -74,6 +74,11 @@ class SDLImageHelper final : public ImageHelper const float alpha) override final A_WARN_UNUSED; + void copySurfaceToImage(Image *const image, + const int x, const int y, + SDL_Surface *const surface) + const override final; + static void SDLSetEnableAlphaCache(const bool n) { mEnableAlphaCache = n; } -- cgit v1.2.3-70-g09d2