Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/private/dbackdropnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,13 @@ class Q_DECL_HIDDEN RhiNode : public DBackdropNode {
}

RenderingFlags flags() const override {
// FIXME: shoule we support DepthAwareRendering?
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick (typo): Correct typo in FIXME comment.

The comment currently uses 'shoule' instead of 'should'. Fixing this typo will improve clarity.

Suggested change
// FIXME: shoule we support DepthAwareRendering?
// FIXME: should we support DepthAwareRendering?

// When enable DepthAwareRendering, render buffer node may have a wrong order.
// Disable DepthAwareRendering here.
if (Q_UNLIKELY(!contentNode))
return BoundedRectRendering | DepthAwareRendering;
return BoundedRectRendering;

return DepthAwareRendering;
return {};
}

void releaseResources() override {
Expand Down