summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 6910bd55..27fc6497 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -75,7 +75,7 @@ Image* Image::load(void* buffer, unsigned int bufferSize, const std::string &idP
SDL_Surface *tmpImage = IMG_Load_RW(rw, 1);
if (tmpImage == NULL) {
- logger->log("Error, image load failed");
+ logger->log("Error, image load failed: %s", IMG_GetError());
return NULL;
}