summaryrefslogtreecommitdiff
path: root/src/utils/sdlcheckutils.cpp
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/utils/sdlcheckutils.cpp
parent2d666d9a3b1bc0aeede357882e054b6afd17a9f1 (diff)
downloadManaVerse-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.tar.gz
ManaVerse-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.tar.bz2
ManaVerse-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.tar.xz
ManaVerse-3f04f19a4e30eadf18e2aa18df01655de58a1ffa.zip
fix images in did you know dialog.
Diffstat (limited to 'src/utils/sdlcheckutils.cpp')
-rw-r--r--src/utils/sdlcheckutils.cpp6
1 files changed, 6 insertions, 0 deletions
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)
{