summaryrefslogtreecommitdiff
path: root/src/resources/safeopenglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-18 04:18:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-18 04:18:31 +0300
commitea7ce2d1099761d4f10a1985cc1491dd306093fb (patch)
tree0ecc2ba76c949af2876ea3fe532d3796d4d0f666 /src/resources/safeopenglimagehelper.cpp
parentd5a295a5ef8338a6d292bb3c60bddcfb8baf17bc (diff)
downloadplus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.gz
plus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.bz2
plus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.xz
plus-ea7ce2d1099761d4f10a1985cc1491dd306093fb.zip
Replace SDL macro defines to SDL_GetError.
Diffstat (limited to 'src/resources/safeopenglimagehelper.cpp')
-rw-r--r--src/resources/safeopenglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/safeopenglimagehelper.cpp b/src/resources/safeopenglimagehelper.cpp
index 118dea49d..2fcff7eb0 100644
--- a/src/resources/safeopenglimagehelper.cpp
+++ b/src/resources/safeopenglimagehelper.cpp
@@ -71,7 +71,7 @@ Image *SafeOpenGLImageHelper::load(SDL_RWops *const rw,
SDL_Surface *const tmpImage = loadPng(rw);
if (tmpImage == nullptr)
{
- logger->log("Error, image load failed: %s", IMG_GetError());
+ logger->log("Error, image load failed: %s", SDL_GetError());
return nullptr;
}