summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.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/openglimagehelper.cpp
parentd5a295a5ef8338a6d292bb3c60bddcfb8baf17bc (diff)
downloadmanaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.gz
manaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.bz2
manaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.tar.xz
manaverse-ea7ce2d1099761d4f10a1985cc1491dd306093fb.zip
Replace SDL macro defines to SDL_GetError.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 87972f5c3..6c30c6a73 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -74,7 +74,7 @@ Image *OpenGLImageHelper::load(SDL_RWops *const rw, Dye const &dye)
SDL_Surface *const tmpImage = loadPng(rw);
if (tmpImage == nullptr)
{
- reportAlways("Error, image load failed: %s", IMG_GetError());
+ reportAlways("Error, image load failed: %s", SDL_GetError());
return nullptr;
}