summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml')
-rw-r--r--examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml b/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
index 945bb4457..9c9cb7ab0 100644
--- a/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
+++ b/examples/qt3d/shadow-map-qml/ShadowMapFrameGraph.qml
@@ -69,9 +69,9 @@ FrameGraph {
RenderTargetSelector {
target: RenderTarget {
attachments: [
- RenderAttachment {
+ RenderTargetOutput {
name: "depth"
- attachmentPoint: RenderAttachment.DepthAttachment
+ attachmentPoint: RenderTargetOutput.DepthAttachment
texture: Texture2D {
id: depthTexture
width: 1024