Use the original filename for the compressed image message.
This commit is contained in:
parent
21f2e1f250
commit
7e2dc443ec
@ -284,7 +284,7 @@ ModelRegistry::readImage(const string& fileName,
|
|||||||
case GL_COMPRESSED_RED_GREEN_RGTC2_EXT:
|
case GL_COMPRESSED_RED_GREEN_RGTC2_EXT:
|
||||||
case GL_COMPRESSED_SIGNED_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"
|
<< "\" contains non portable compressed textures.\n"
|
||||||
"Usage of these textures depend on an extension that"
|
"Usage of these textures depend on an extension that"
|
||||||
" is not guaranteed to be present.");
|
" is not guaranteed to be present.");
|
||||||
|
Loading…
Reference in New Issue
Block a user