summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 12:41:19 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-26 12:41:19 +1000
commitf97cbb44be9e6195ee5a15a687a963ea5bb2f547 (patch)
treed2b346fcaece9ba8b51bfde5990ca6f3685206c8 /src/opengl
parenta161143b81d8b4cfce06d2566dbbd129a2e1b0e1 (diff)
Fix OpenGL/ES 2.0 bug in previous QGLShaderProgram check-in
Diffstat (limited to 'src/opengl')
-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 7fcd6f7b95..b20c6e9439 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;