summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/shadow-map-qml
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2016-03-19 21:43:55 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-03-22 12:53:13 +0000
commitf0019b047dbd146f14ab77fd0f1d65080bb9a9a6 (patch)
treee21014d78c3af1eb4d5a651d4d9085c8fd754051 /examples/qt3d/shadow-map-qml
parent68667e9105744478bcfd2cf16efda71a350da372 (diff)
Remove QViewport::clearColor
Task-number: QTBUG-51460 Change-Id: I616f4506dffd649efb931824fab82efcdefaeee3 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/shadow-map-qml')
-rw-r--r--examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml b/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
index 302b10af5..893688cda 100644
--- a/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
+++ b/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
@@ -61,7 +61,10 @@ RenderSettings {
activeFrameGraph: Viewport {
normalizedRect: Qt.rect(0.0, 0.0, 1.0, 1.0)
- clearColor: Qt.rgba(0.0, 0.4, 0.7, 1.0)
+
+ ClearBuffers {
+ clearColor: Qt.rgba(0.0, 0.4, 0.7, 1.0)
+ }
RenderSurfaceSelector {
RenderPassFilter {