From 3f04f19a4e30eadf18e2aa18df01655de58a1ffa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Nov 2013 00:30:15 +0300 Subject: fix images in did you know dialog. --- src/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debug.h') 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) -- cgit v1.2.3-70-g09d2