summaryrefslogtreecommitdiff
path: root/src/resources/subimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/subimage.h')
-rw-r--r--src/resources/subimage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/subimage.h b/src/resources/subimage.h
index 8dae594f6..5322f9a71 100644
--- a/src/resources/subimage.h
+++ b/src/resources/subimage.h
@@ -50,6 +50,10 @@ class SubImage final : public Image
/**
* Constructor.
*/
+#ifdef USE_SDL2
+ SubImage(Image *const parent, SDL_Texture *const image,
+ const int x, const int y, const int width, const int height);
+#endif
SubImage(Image *const parent, SDL_Surface *const image,
const int x, const int y, const int width, const int height);
#ifdef USE_OPENGL