summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglshaderprogram.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-04-20 23:31:42 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-05-01 00:17:23 (GMT)
commit17ee6906eb726ea9b03c6c7e67448cf3d924f0f8 (patch)
tree16d79aa722264149eed4fcaf148d80ee3a0f1121 /src/opengl/qglshaderprogram.h
parent97da797fc9e408e1b0a44d2ac109750294c82574 (diff)
downloadQt-17ee6906eb726ea9b03c6c7e67448cf3d924f0f8.zip
Qt-17ee6906eb726ea9b03c6c7e67448cf3d924f0f8.tar.gz
Qt-17ee6906eb726ea9b03c6c7e67448cf3d924f0f8.tar.bz2
Rename QGLShader(Program)::errors() to log()
The shader compilers also report warnings, so it is more appropriate to call the string a log. Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qglshaderprogram.h')
-rw-r--r--src/opengl/qglshaderprogram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qglshaderprogram.h b/src/opengl/qglshaderprogram.h
index 508fd96..eddd447 100644
--- a/src/opengl/qglshaderprogram.h
+++ b/src/opengl/qglshaderprogram.h
@@ -96,7 +96,7 @@ public:
QByteArray sourceCode() const;
bool isCompiled() const;
- QString errors() const;
+ QString log() const;
GLuint shaderId() const;
@@ -136,7 +136,7 @@ public:
virtual bool link();
bool isLinked() const;
- QString errors() const;
+ QString log() const;
bool enable();
void disable();