Commit 9ae5162b authored by Samuel Rødal's avatar Samuel Rødal Committed by The Qt Project
Browse files

Prevent QOpenGLShaderProgram::link() from showing unnecessary warnings.


If the liking didn't fail there's no need to print out warnings. The
warnings can still be accessed by the application after calling link()
through the log() function.

This prevents warnings such as these from appearing:

QOpenGLShader::link: "No errors."

Task-number: QTBUG-31326
Change-Id: I03c9be5dfada8822c3ab1c3610eac2fc0a91410b
Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
Reviewed-by: default avatarSean Harmer <sean.harmer@kdab.com>
parent 6359f420
No related merge requests found
Showing with 13 additions and 9 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment