diff options
Diffstat (limited to 'examples/qt3d/simplecustommaterial/main.cpp')
-rw-r--r-- | examples/qt3d/simplecustommaterial/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qt3d/simplecustommaterial/main.cpp b/examples/qt3d/simplecustommaterial/main.cpp index da299e913..8f9a6e2ed 100644 --- a/examples/qt3d/simplecustommaterial/main.cpp +++ b/examples/qt3d/simplecustommaterial/main.cpp @@ -74,6 +74,7 @@ int main(int argc, char **argv) QGuiApplication app(argc, argv); setSurfaceFormat(); + QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi); QQuickView view; view.resize(1024, 1024); |