diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-02 00:30:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-02 00:30:15 +0300 |
commit | 3f04f19a4e30eadf18e2aa18df01655de58a1ffa (patch) | |
tree | 367852ed3d5600565949a749e8b40e10ca1253c8 /src/utils/sdlcheckutils.cpp | |
parent | 2d666d9a3b1bc0aeede357882e054b6afd17a9f1 (diff) | |
download | manaverse-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.cpp | 6 |
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) { |