summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/advancedcustommaterial
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/advancedcustommaterial')
-rw-r--r--examples/qt3d/advancedcustommaterial/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/advancedcustommaterial/main.cpp b/examples/qt3d/advancedcustommaterial/main.cpp
index 9338ab4f4..631e26e43 100644
--- a/examples/qt3d/advancedcustommaterial/main.cpp
+++ b/examples/qt3d/advancedcustommaterial/main.cpp
@@ -71,8 +71,8 @@ void setSurfaceFormat()
int main(int argc, char **argv)
{
- setSurfaceFormat();
QGuiApplication app(argc, argv);
+ setSurfaceFormat();
QQuickView view;