diff options
Diffstat (limited to 'examples/qt3d/scene3d/main.cpp')
-rw-r--r-- | examples/qt3d/scene3d/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/scene3d/main.cpp b/examples/qt3d/scene3d/main.cpp index 67eaadb4d..11d07c024 100644 --- a/examples/qt3d/scene3d/main.cpp +++ b/examples/qt3d/scene3d/main.cpp @@ -70,7 +70,7 @@ int main(int argc, char **argv) QGuiApplication app(argc, argv); // Force OpenGL backend - QQuickWindow::setSceneGraphBackend(QSGRendererInterface::OpenGLRhi); + QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi); QQuickView view; view.resize(1024, 768); |