summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene2d/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene2d/main.cpp')
-rw-r--r--examples/qt3d/scene2d/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qt3d/scene2d/main.cpp b/examples/qt3d/scene2d/main.cpp
index 04c4ac58c..d4e2c4b1d 100644
--- a/examples/qt3d/scene2d/main.cpp
+++ b/examples/qt3d/scene2d/main.cpp
@@ -55,6 +55,7 @@ int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
+ QQuickWindow::setSceneGraphBackend(QSGRendererInterface::OpenGLRhi);
Qt3DExtras::Quick::Qt3DQuickWindow view;
view.setSource(QUrl("qrc:/main.qml"));
view.resize(1400, 1100);