diff options
Diffstat (limited to 'examples/qml-compositor')
-rw-r--r-- | examples/qml-compositor/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp index 2a453a63b..b556071ed 100644 --- a/examples/qml-compositor/main.cpp +++ b/examples/qml-compositor/main.cpp @@ -65,7 +65,7 @@ public: enableSubSurfaceExtension(); setSource(QUrl("main.qml")); setResizeMode(QQuickView::SizeRootObjectToView); - setClearColor(Qt::black); + setColor(Qt::black); winId(); connect(this, SIGNAL(frameSwapped()), this, SLOT(frameSwappedSlot())); |