summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/framegraphnode_p.h
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2016-08-12 12:29:54 +0300
committerSean Harmer <sean.harmer@kdab.com>2016-08-13 08:06:32 +0000
commit51794ab5d8df050d6e8679dff0b9336d088d79e1 (patch)
tree1f43af2f859fea9ed177d341b1b852f43132cefc /src/render/framegraph/framegraphnode_p.h
parentb1d171c8a308cea30f7bf9b1b28baf5d3013f355 (diff)
Change FrameGraphNode constructor to accept Mode paremeter
Add the mode paremeter to constructor so that inherited frame graph nodes can set the mode if needed. Change-Id: I648189e8a185735eefa2e4c4de8b7ff5c295d38f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/framegraphnode_p.h')
-rw-r--r--src/render/framegraph/framegraphnode_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/framegraph/framegraphnode_p.h b/src/render/framegraph/framegraphnode_p.h
index 62f8d645d..3bab7b22e 100644
--- a/src/render/framegraph/framegraphnode_p.h
+++ b/src/render/framegraph/framegraphnode_p.h
@@ -107,7 +107,7 @@ public:
QVector<FrameGraphNode *> children() const;
protected:
- FrameGraphNode(FrameGraphNodeType nodeType);
+ FrameGraphNode(FrameGraphNodeType nodeType, QBackendNode::Mode mode = QBackendNode::ReadOnly);
void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_OVERRIDE;
private: