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