summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simplecustommaterial/main.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2020-11-26 14:46:23 +0100
committerPaul Lemire <paul.lemire@kdab.com>2020-11-26 17:47:36 +0100
commit934c9f92926709854b6d493a335054913a45f87b (patch)
treeedc3ca0203b386a06153502b899487af4b7e2aa5 /examples/qt3d/simplecustommaterial/main.cpp
parent230a2650d713b50fbec984deddfc3741bdf51d7a (diff)
QtQuick based examples: let QtQuick/Qt3D decide on backend
Change-Id: Id3ab38d02f8df7701410b8fcef8e112057825ecf Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples/qt3d/simplecustommaterial/main.cpp')
-rw-r--r--examples/qt3d/simplecustommaterial/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/qt3d/simplecustommaterial/main.cpp b/examples/qt3d/simplecustommaterial/main.cpp
index 8f9a6e2ed..da299e913 100644
--- a/examples/qt3d/simplecustommaterial/main.cpp
+++ b/examples/qt3d/simplecustommaterial/main.cpp
@@ -74,7 +74,6 @@ int main(int argc, char **argv)
QGuiApplication app(argc, argv);
setSurfaceFormat();
- QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
QQuickView view;
view.resize(1024, 1024);