diff options
Diffstat (limited to 'examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml')
-rw-r--r-- | examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml | 5 |
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 { |