summaryrefslogtreecommitdiff
path: root/src/sdlshared.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/sdlshared.h
parent948d940d46240ff518ec9b1037503bebdb47196a (diff)
downloadplus-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.gz
plus-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.bz2
plus-ba0815355ef7be8e5f46720be5a6911e466e1568.tar.xz
plus-ba0815355ef7be8e5f46720be5a6911e466e1568.zip
add SurfaceImageHelper for loading/processing surfaces for SDL2.
For SDL1.2 used SDLImageHelper.
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r--src/sdlshared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdlshared.h b/src/sdlshared.h
index 7683cb9f2..48e4ce25b 100644
--- a/src/sdlshared.h
+++ b/src/sdlshared.h
@@ -58,6 +58,7 @@
#define SDL_Window SDL_Surface
#define SDL_JoystickNameForIndex SDL_JoystickName
+#define SurfaceImageHelper SDLImageHelper
#endif // USE_SDL2