aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/fboitem/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/fboitem/main.cpp')
-rw-r--r--examples/quick/scenegraph/fboitem/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/fboitem/main.cpp b/examples/quick/scenegraph/fboitem/main.cpp
index 5c4620c5b7..61510cdb93 100644
--- a/examples/quick/scenegraph/fboitem/main.cpp
+++ b/examples/quick/scenegraph/fboitem/main.cpp
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
- QQuickWindow::setSceneGraphBackend(QSGRendererInterface::OpenGLRhi);
+ QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
QQuickView view;
view.setResizeMode(QQuickView::SizeRootObjectToView);