summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-25 13:19:23 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-25 14:03:36 +0300
commitba0815355ef7be8e5f46720be5a6911e466e1568 (patch)
treed464944cc5796535507461fa26b49f636e88a9bf /src/resources/image.h
parent948d940d46240ff518ec9b1037503bebdb47196a (diff)
downloadmv-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.gz
mv-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.bz2
mv-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.xz
mv-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.h3
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;