diff -r 5dc02b23752f -r 3e2da88830cd src/opengl/qglshaderprogram.cpp --- a/src/opengl/qglshaderprogram.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/src/opengl/qglshaderprogram.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -1490,7 +1490,7 @@ Q_D(QGLShaderProgram); Q_UNUSED(d); if (location != -1) { - glVertexAttribPointer(location, tupleSize, type, GL_FALSE, + glVertexAttribPointer(location, tupleSize, type, GL_TRUE, stride, values); } } @@ -1634,7 +1634,7 @@ Q_D(QGLShaderProgram); Q_UNUSED(d); if (location != -1) { - glVertexAttribPointer(location, tupleSize, type, GL_FALSE, stride, + glVertexAttribPointer(location, tupleSize, type, GL_TRUE, stride, reinterpret_cast(offset)); } }