diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-02-09 15:20:57 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-16 09:43:05 +0000 |
commit | 98976d1d71b1e639bd6191097a89a94589ac7bdd (patch) | |
tree | c12bb59d20ef977539821e197f1c0d777f35a773 /src/quick/doc | |
parent | 95d1167f583c7fbac57e6c237a73b9d9afee8f71 (diff) |
Use QSGRendererInterface::OpenGL in documentation and examples
QSGRendererInterface::OpenGLRhi is only an (undocumented) alias to
...::OpenGL, so let's use that instead.
Amends 0b2311a62b25c
Change-Id: I4acdd39dc1d9b75bed5c474667a43b4ad86e7f47
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit e2138561df3562c19000af24d43659090c19167a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick/doc')
-rw-r--r-- | src/quick/doc/src/qt6-changes.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/doc/src/qt6-changes.qdoc b/src/quick/doc/src/qt6-changes.qdoc index 58a7ebb3e1..defacd95a1 100644 --- a/src/quick/doc/src/qt6-changes.qdoc +++ b/src/quick/doc/src/qt6-changes.qdoc @@ -138,7 +138,7 @@ OpenGL. It will not be functional when using another graphics API, such as Vulkan or Metal. Applications relying on QQuickWidget should force the usage of OpenGL by calling - \c{QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi)} in their + \c{QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL)} in their main() function. \section2 Changes to QQuick* APIs @@ -206,7 +206,7 @@ not be functional when using another graphics API, such as Vulkan or Metal. Applications relying on QQuickFramebufferObject should force the usage of OpenGL by calling - \c{QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi)} in their + \c{QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL)} in their main() function. \li QQuickRenderControl has a slightly changed API: grab() is now |