Suppress QOpenGLShaderProgram::link() warnings for binaries
No need to pollute the debug output when attempting to load a program binary which then gets rejected, because this is not fatal. We will simply recompile from source then. Change-Id: I762b7c66fc1ccdf8ab73d720ee10a349c287628b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Andy Nichols <andy.nichols@qt.io>bb10
parent
079aa711ec
commit
ef090b54d7
|
|
@ -1310,7 +1310,7 @@ bool QOpenGLShaderProgram::link()
|
|||
GLint len;
|
||||
d->glfuncs->glGetProgramInfoLog(program, value, &len, logbuf);
|
||||
d->log = QString::fromLatin1(logbuf);
|
||||
if (!d->linked) {
|
||||
if (!d->linked && !d->linkBinaryRecursion) {
|
||||
QString name = objectName();
|
||||
if (name.isEmpty())
|
||||
qWarning("QOpenGLShader::link: %ls", qUtf16Printable(d->log));
|
||||
|
|
|
|||
Loading…
Reference in New Issue