diff options
Diffstat (limited to 'examples/opengl/contextinfo/widget.cpp')
-rw-r--r-- | examples/opengl/contextinfo/widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/contextinfo/widget.cpp b/examples/opengl/contextinfo/widget.cpp index 13cec3b3f8..6d4b97ca8f 100644 --- a/examples/opengl/contextinfo/widget.cpp +++ b/examples/opengl/contextinfo/widget.cpp @@ -337,9 +337,9 @@ void Widget::renderWindowReady() const char *gltype[] = { "Desktop", "GLES 2", "GLES 1" }; m_output->append(tr("\nQt OpenGL configuration: %1") - .arg(QString::fromLatin1(gltype[QOpenGLFunctions::platformGLType()]))); + .arg(QString::fromLatin1(gltype[QOpenGLContext::openGLModuleType()]))); m_output->append(tr("Qt OpenGL library handle: %1") - .arg(QString::number(qintptr(QOpenGLFunctions::platformGLHandle()), 16))); + .arg(QString::number(qintptr(QOpenGLContext::openGLModuleHandle()), 16))); QList<QByteArray> extensionList = context->extensions().toList(); std::sort(extensionList.begin(), extensionList.end()); |