Don't quote newlines in multi-line shader linker errors.
Change-Id: I055758b73a9992786b6c4542396dc82fda1444b5 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
e5ebf95bba
commit
434f2b8968
@ -1050,9 +1050,9 @@ bool QOpenGLShaderProgram::link()
|
|||||||
if (!d->linked) {
|
if (!d->linked) {
|
||||||
QString name = objectName();
|
QString name = objectName();
|
||||||
if (name.isEmpty())
|
if (name.isEmpty())
|
||||||
qWarning() << "QOpenGLShader::link:" << d->log;
|
qWarning("QOpenGLShader::link: %ls", qUtf16Printable(d->log));
|
||||||
else
|
else
|
||||||
qWarning() << "QOpenGLShader::link[" << name << "]:" << d->log;
|
qWarning("QOpenGLShader::link[%ls]: %ls", qUtf16Printable(name), qUtf16Printable(d->log));
|
||||||
}
|
}
|
||||||
delete [] logbuf;
|
delete [] logbuf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user