diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-09-09 15:56:31 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-12-13 15:33:53 +0000 |
commit | d2da87d520400c479c4f6950d3fcc31077027ed9 (patch) | |
tree | 674ff3c356335630e1fee53f86ae8d6f1a3e03c8 /src/render/framegraph/qdispatchcompute.cpp | |
parent | 49023e500ef0a93714fb02b2dc2f766c7c0ae893 (diff) |
QFrameGraphNode and subclasses: use the QFrameGraphNodeCreatedChange
Change-Id: I5c22b3face1a6b73ea0c10c32a16da2d8cab5f5d
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/framegraph/qdispatchcompute.cpp')
-rw-r--r-- | src/render/framegraph/qdispatchcompute.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/framegraph/qdispatchcompute.cpp b/src/render/framegraph/qdispatchcompute.cpp index ca656c114..4ef55998e 100644 --- a/src/render/framegraph/qdispatchcompute.cpp +++ b/src/render/framegraph/qdispatchcompute.cpp @@ -39,6 +39,7 @@ #include "qdispatchcompute.h" #include "qdispatchcompute_p.h" +#include <Qt3DRender/qframegraphnodecreatedchange.h> QT_BEGIN_NAMESPACE @@ -163,7 +164,7 @@ void QDispatchCompute::setWorkGroupZ(int workGroupZ) Qt3DCore::QNodeCreatedChangeBasePtr QDispatchCompute::createNodeCreationChange() const { - auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QDispatchComputeData>::create(this); + auto creationChange = QFrameGraphNodeCreatedChangePtr<QDispatchComputeData>::create(this); auto &data = creationChange->data; Q_D(const QDispatchCompute); data.workGroupX = d->m_workGroupX; |