diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-18 04:18:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-18 04:18:31 +0300 |
commit | ea7ce2d1099761d4f10a1985cc1491dd306093fb (patch) | |
tree | 0ecc2ba76c949af2876ea3fe532d3796d4d0f666 /src/resources/sdlimagehelper.cpp | |
parent | d5a295a5ef8338a6d292bb3c60bddcfb8baf17bc (diff) | |
download | mv-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.gz mv-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.bz2 mv-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.xz mv-ea7ce2d1099761d4f10a1985cc1491dd306093fb.zip |
Replace SDL macro defines to SDL_GetError.
Diffstat (limited to 'src/resources/sdlimagehelper.cpp')
-rw-r--r-- | src/resources/sdlimagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp index 21bc75b0b..fecd11482 100644 --- a/src/resources/sdlimagehelper.cpp +++ b/src/resources/sdlimagehelper.cpp @@ -62,7 +62,7 @@ Image *SDLImageHelper::load(SDL_RWops *const rw, Dye const &dye) if (tmpImage == nullptr) { reportAlways("Error, image load failed: %s", - IMG_GetError()); + SDL_GetError()); return nullptr; } |