From: Mathias Froehlich Date: Sun, 15 Jan 2012 12:07:35 +0000 (+0100) Subject: Use the original filename for the compressed image message. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7e2dc443ec5001f44b4266581e1ff0eb530582cf;p=simgear.git Use the original filename for the compressed image message. --- diff --git a/simgear/scene/model/ModelRegistry.cxx b/simgear/scene/model/ModelRegistry.cxx index 2788eadd..54b98a0d 100644 --- a/simgear/scene/model/ModelRegistry.cxx +++ b/simgear/scene/model/ModelRegistry.cxx @@ -284,7 +284,7 @@ ModelRegistry::readImage(const string& fileName, case GL_COMPRESSED_RED_GREEN_RGTC2_EXT: case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: - SG_LOG(SG_IO, SG_ALERT, "Image \"" << res.getImage()->getFileName() + SG_LOG(SG_IO, SG_ALERT, "Image \"" << fileName << "\" contains non portable compressed textures.\n" "Usage of these textures depend on an extension that" " is not guaranteed to be present.");