diff options
author | Juan Jose Casafranca <juan.casafranca@kdab.com> | 2019-05-24 19:08:12 +0200 |
---|---|---|
committer | Juan Jose Casafranca <juan.casafranca@kdab.com> | 2019-05-24 19:36:10 +0200 |
commit | c5395497a72805bd4dd9f092f52cc9bfebeb922b (patch) | |
tree | 523932f874cfa2feb8ed4019f8233749e62787f9 /src/render/framegraph/framegraphnode.cpp | |
parent | 2f0aa9e35a6881f6cc47c451bb5658c02cf8fb7c (diff) |
Mark dirty when modifying framegraph
The framegraph can be modified by several ways. In some
cases we can take a short path and mark only the framegraph as dirty
but in other cases we need to mark the whole renderer as dirty
This patch marks the whole renderer as dirty if the change isnt of
any particular case
Change-Id: I185fd1592b397805fa06ff2f5bc12c6c2d8c6ac0
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/framegraph/framegraphnode.cpp')
-rw-r--r-- | src/render/framegraph/framegraphnode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/framegraph/framegraphnode.cpp b/src/render/framegraph/framegraphnode.cpp index 41a94f0e3..16f54df3b 100644 --- a/src/render/framegraph/framegraphnode.cpp +++ b/src/render/framegraph/framegraphnode.cpp @@ -145,6 +145,7 @@ void FrameGraphNode::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) break; } default: + markDirty(AbstractRenderer::AllDirty); break; } } |