diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-25 13:19:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-25 14:03:36 +0300 |
commit | ba0815355ef7be8e5f46720be5a6911e466e1568 (patch) | |
tree | d464944cc5796535507461fa26b49f636e88a9bf /src/resources/image.h | |
parent | 948d940d46240ff518ec9b1037503bebdb47196a (diff) | |
download | ManaVerse-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.gz ManaVerse-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.bz2 ManaVerse-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.xz ManaVerse-ba0815355ef7be8e5f46720be5a6911e466e1568.zip |
add SurfaceImageHelper for loading/processing surfaces for SDL2.
For SDL1.2 used SDLImageHelper.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h index b31ecb29e..ed42991bb 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -58,6 +58,9 @@ class Image : public Resource friend class SDLGraphics; friend class SDLImageHelper; friend class SurfaceGraphics; +#ifdef USE_SDL2 + friend class SurfaceImageHelper; +#endif friend class TestLauncher; #ifdef USE_OPENGL friend class AtlasManager; |