summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-05-01 01:22:10 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-05-01 01:22:10 (GMT)
commitc429978d1a547e19c95db72f89755076b3b5bf1b (patch)
tree759c700023f0051da9f0e78e724f9720bc834788 /src/opengl
parent05ddcb4d40a56878e45bf6a06dd178217fa534f1 (diff)
downloadQt-c429978d1a547e19c95db72f89755076b3b5bf1b.zip
Qt-c429978d1a547e19c95db72f89755076b3b5bf1b.tar.gz
Qt-c429978d1a547e19c95db72f89755076b3b5bf1b.tar.bz2
Rename uses of QGLShaderProgram::errors() to log()
Reviewed-by: trustme
Diffstat (limited to 'src/opengl')
-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 {