diff options
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/cube/geometryengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/cube/geometryengine.cpp b/examples/opengl/cube/geometryengine.cpp index e3d14d95de..d8dfeab822 100644 --- a/examples/opengl/cube/geometryengine.cpp +++ b/examples/opengl/cube/geometryengine.cpp @@ -151,7 +151,7 @@ void GeometryEngine::drawCubeGeometry(QGLShaderProgram *program) glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vboIds[1]); // Offset for position - int offset = 0; + quintptr offset = 0; // Tell OpenGL programmable pipeline how to locate vertex position data int vertexLocation = program->attributeLocation("a_position"); |