diff options
author | Kai Köhne <[email protected]> | 2022-02-09 15:20:57 +0100 |
---|---|---|
committer | Kai Koehne <[email protected]> | 2022-02-14 11:38:10 +0000 |
commit | e2138561df3562c19000af24d43659090c19167a (patch) | |
tree | 000be8c7801ab10368a2ad06a9b71b696d39afad /examples/quick/scenegraph/vulkanunderqml/main.cpp | |
parent | 3bb7cf64994c3b43243b6d000d051f99fdaae03e (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
Pick-to: 6.2 6.3
Change-Id: I4acdd39dc1d9b75bed5c474667a43b4ad86e7f47
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/quick/scenegraph/vulkanunderqml/main.cpp')
-rw-r--r-- | examples/quick/scenegraph/vulkanunderqml/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/vulkanunderqml/main.cpp b/examples/quick/scenegraph/vulkanunderqml/main.cpp index e4a3f36ca7..112332f4fd 100644 --- a/examples/quick/scenegraph/vulkanunderqml/main.cpp +++ b/examples/quick/scenegraph/vulkanunderqml/main.cpp @@ -56,7 +56,7 @@ int main(int argc, char **argv) QGuiApplication app(argc, argv); // This example needs Vulkan. It will not run otherwise. - QQuickWindow::setGraphicsApi(QSGRendererInterface::VulkanRhi); + QQuickWindow::setGraphicsApi(QSGRendererInterface::Vulkan); QQuickView view; view.setResizeMode(QQuickView::SizeRootObjectToView); |