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/utils/sdlcheckutils.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utils/sdlcheckutils.cpp') diff --git a/src/utils/sdlcheckutils.cpp b/src/utils/sdlcheckutils.cpp index 3810672d9..7140e44fe 100644 --- a/src/utils/sdlcheckutils.cpp +++ b/src/utils/sdlcheckutils.cpp @@ -138,6 +138,12 @@ SDL_Surface *FakeIMG_LoadPNG_RW(SDL_RWops *const src, const char *const file, return addSurface("IMG_LoadPNG_RW", IMG_LoadPNG_RW(src), file, line); } +SDL_Surface *FakeIMG_LoadJPG_RW(SDL_RWops *const src, const char *const file, + const unsigned line) +{ + return addSurface("IMG_LoadJPG_RW", IMG_LoadJPG_RW(src), file, line); +} + SDL_Surface *FakeIMG_Load(const char *name, const char *const file, const unsigned line) { -- cgit v1.2.3-70-g09d2