diff options
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) { |