mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 17:03:11 +02:00
Logging cleanup
This commit is contained in:
parent
b98cd7355e
commit
d6ab35ba1a
1 changed files with 3 additions and 3 deletions
|
@ -163,8 +163,8 @@ gpu::TexturePointer processImage(const QByteArray& content, const std::string& f
|
|||
newImageReader.setDevice(&buffer);
|
||||
|
||||
if (newImageReader.canRead()) {
|
||||
qWarning(imagelogging) << "Image file" << filename.c_str() << "has extension" << filenameExtension.c_str()
|
||||
<< "but is actually a" << qPrintable(newImageReader.format()) << "(recovering)";
|
||||
qCWarning(imagelogging) << "Image file" << filename.c_str() << "has extension" << filenameExtension.c_str()
|
||||
<< "but is actually a" << qPrintable(newImageReader.format()) << "(recovering)";
|
||||
image = newImageReader.read();
|
||||
}
|
||||
}
|
||||
|
@ -266,7 +266,7 @@ struct MyOutputHandler : public nvtt::OutputHandler {
|
|||
};
|
||||
struct MyErrorHandler : public nvtt::ErrorHandler {
|
||||
virtual void error(nvtt::Error e) override {
|
||||
qDebug() << "Texture compression error:" << nvtt::errorString(e);
|
||||
qCWarning(imagelogging) << "Texture compression error:" << nvtt::errorString(e);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue