From 927a23261b6d974969948d0a80478f3e0b88752a Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 16 Sep 2005 19:56:32 +0000 Subject: Tiny error reporting improvement. --- src/resources/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/image.cpp') 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; } -- cgit v1.2.3-70-g09d2