diff options
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.cpp')
-rw-r--r-- | examples/opengl/hellowindow/hellowindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.cpp b/examples/opengl/hellowindow/hellowindow.cpp index 3b5971c0d3..b4dc4464ba 100644 --- a/examples/opengl/hellowindow/hellowindow.cpp +++ b/examples/opengl/hellowindow/hellowindow.cpp @@ -182,7 +182,7 @@ void Renderer::paintQtLogo() m_program->enableAttributeArray(vertexAttr); m_program->setAttributeArray(vertexAttr, vertices.constData()); m_program->setAttributeArray(normalAttr, normals.constData()); - glDrawArrays(GL_TRIANGLES, 0, vertices.size()); + m_context->functions()->glDrawArrays(GL_TRIANGLES, 0, vertices.size()); m_program->disableAttributeArray(normalAttr); m_program->disableAttributeArray(vertexAttr); } |