summaryrefslogtreecommitdiff
path: root/src/resources/subimage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-25 19:36:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-25 23:26:55 +0300
commitd5847d54a527c41006cb4cade15d0b6346490e77 (patch)
tree5146fc48f6e2d10eb3f41f1b20eac16f66b36f28 /src/resources/subimage.h
parent5b20a3d95717f75d33801c4dd2b093e106d90541 (diff)
downloadmanaplus-d5847d54a527c41006cb4cade15d0b6346490e77.tar.gz
manaplus-d5847d54a527c41006cb4cade15d0b6346490e77.tar.bz2
manaplus-d5847d54a527c41006cb4cade15d0b6346490e77.tar.xz
manaplus-d5847d54a527c41006cb4cade15d0b6346490e77.zip
add partial support for software mode with SDL2.
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