summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/gl2paintengineex/qglengineshadermanager.cpp')
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadermanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
index 3d8d34b..d238830 100644
--- a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
+++ b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp
@@ -156,7 +156,7 @@ QGLEngineShaderManager::QGLEngineShaderManager(QGLContext* context)
simpleShaderProg->link();
if (!simpleShaderProg->isValid()) {
qCritical() << "Errors linking simple shader:"
- << simpleShaderProg->errors();
+ << simpleShaderProg->log();
}
}
@@ -432,7 +432,7 @@ bool QGLEngineShaderManager::useCorrectShaderProg()
<< " compositionFragShader = "<< requiredProgram.compositionFragShader->objectName() << '\n'
#endif
<< " Error Log:" << '\n'
- << " " << requiredProgram.program->errors();
+ << " " << requiredProgram.program->log();
qWarning() << error;
}
else {