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