summaryrefslogtreecommitdiff
path: root/src/resources/safeopenglimagehelper.cpp
diff options
context:
space:
mode:
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;
}