summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 02:41:19 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 02:41:19 (GMT)
commitf97cbb44be9e6195ee5a15a687a963ea5bb2f547 (patch)
treed2b346fcaece9ba8b51bfde5990ca6f3685206c8 /src
parenta161143b81d8b4cfce06d2566dbbd129a2e1b0e1 (diff)
downloadQt-f97cbb44be9e6195ee5a15a687a963ea5bb2f547.zip
Qt-f97cbb44be9e6195ee5a15a687a963ea5bb2f547.tar.gz
Qt-f97cbb44be9e6195ee5a15a687a963ea5bb2f547.tar.bz2
Fix OpenGL/ES 2.0 bug in previous QGLShaderProgram check-in
Diffstat (limited to 'src')
-rw-r--r--src/opengl/qglshaderprogram.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglshaderprogram.cpp b/src/opengl/qglshaderprogram.cpp
index 7fcd6f7..b20c6e9 100644
--- a/src/opengl/qglshaderprogram.cpp
+++ b/src/opengl/qglshaderprogram.cpp
@@ -1138,7 +1138,7 @@ bool QGLShaderProgram::setProgramBinary(int format, const QByteArray& binary)
{
#if defined(QT_OPENGL_ES_2)
// Load the binary and check that it was linked correctly.
- Q_D(const QGLShaderProgram);
+ Q_D(QGLShaderProgram);
GLuint program = d->programGuard.id();
if (!program)
return false;