pass/rect: fix box shrinking with bb

fixes #9084
This commit is contained in:
Vaxry
2025-01-23 22:57:14 +00:00
parent dadb2e0949
commit bb099e5733

View File

@@ -24,7 +24,7 @@ bool CRectPassElement::needsPrecomputeBlur() {
}
std::optional<CBox> CRectPassElement::boundingBox() {
return data.box.expand(-data.round);
return data.box.copy().expand(-data.round);
}
CRegion CRectPassElement::opaqueRegion() {