diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-25 19:36:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-25 23:26:55 +0300 |
commit | d5847d54a527c41006cb4cade15d0b6346490e77 (patch) | |
tree | 5146fc48f6e2d10eb3f41f1b20eac16f66b36f28 /src/resources/subimage.h | |
parent | 5b20a3d95717f75d33801c4dd2b093e106d90541 (diff) | |
download | ManaVerse-d5847d54a527c41006cb4cade15d0b6346490e77.tar.gz ManaVerse-d5847d54a527c41006cb4cade15d0b6346490e77.tar.bz2 ManaVerse-d5847d54a527c41006cb4cade15d0b6346490e77.tar.xz ManaVerse-d5847d54a527c41006cb4cade15d0b6346490e77.zip |
add partial support for software mode with SDL2.
Diffstat (limited to 'src/resources/subimage.h')
-rw-r--r-- | src/resources/subimage.h | 4 |
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 |