summaryrefslogtreecommitdiff
path: root/src/resources/sdlimagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdlimagehelper.h')
-rw-r--r--src/resources/sdlimagehelper.h5
1 files changed, 5 insertions, 0 deletions
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; }