summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene3dview/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene3dview/main.cpp')
-rw-r--r--examples/qt3d/scene3dview/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qt3d/scene3dview/main.cpp b/examples/qt3d/scene3dview/main.cpp
index 8886263f4..e04bbc050 100644
--- a/examples/qt3d/scene3dview/main.cpp
+++ b/examples/qt3d/scene3dview/main.cpp
@@ -55,6 +55,7 @@ int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
+ QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
QQuickView view;
view.resize(500, 500);