diff options
Diffstat (limited to 'examples/quick/scenegraph/d3d11underqml/main.cpp')
-rw-r--r-- | examples/quick/scenegraph/d3d11underqml/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/d3d11underqml/main.cpp b/examples/quick/scenegraph/d3d11underqml/main.cpp index bcefae6cb5..f2a224c1a2 100644 --- a/examples/quick/scenegraph/d3d11underqml/main.cpp +++ b/examples/quick/scenegraph/d3d11underqml/main.cpp @@ -56,7 +56,7 @@ int main(int argc, char **argv) { QGuiApplication app(argc, argv); - QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Direct3D11Rhi); + QQuickWindow::setGraphicsApi(QSGRendererInterface::Direct3D11Rhi); QQuickView view; view.setResizeMode(QQuickView::SizeRootObjectToView); |