summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-02 00:30:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-02 00:30:15 +0300
commit3f04f19a4e30eadf18e2aa18df01655de58a1ffa (patch)
tree367852ed3d5600565949a749e8b40e10ca1253c8 /src/debug.h
parent2d666d9a3b1bc0aeede357882e054b6afd17a9f1 (diff)
downloadmv-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.tar.gz
mv-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.tar.bz2
mv-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.tar.xz
mv-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.zip
fix images in did you know dialog.
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index db1989b77..bd304c4bd 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -44,6 +44,7 @@
#ifdef DEBUG_SDL_SURFACES
#define MIMG_LoadPNG_RW(src) FakeIMG_LoadPNG_RW(src, __FILE__, __LINE__)
+#define MIMG_LoadJPG_RW(src) FakeIMG_LoadJPG_RW(src, __FILE__, __LINE__)
#define MSDL_FreeSurface(s) FakeSDL_FreeSurface(s, __FILE__, __LINE__)
#define MSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a) \
FakeSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a, __FILE__, __LINE__)
@@ -60,6 +61,7 @@
#else // ENABLE_SDL_DEBUG
#define MIMG_LoadPNG_RW(src) IMG_LoadPNG_RW(src)
+#define MIMG_LoadJPG_RW(src) IMG_LoadJPG_RW(src)
#define MSDL_FreeSurface(surface) SDL_FreeSurface(surface)
#define MSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a) \
SDL_CreateRGBSurface(flags, w, h, d, r, g, b, a)