pass/rect: fix bounding / opaque regions

fixes #9212
This commit is contained in:
vaxerski 2025-01-29 10:42:46 +00:00
parent d41135d07c
commit 344e32d71b
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ bool CRectPassElement::needsPrecomputeBlur() {
}
std::optional<CBox> CRectPassElement::boundingBox() {
return data.box;
return data.box.copy().scale(1.F / g_pHyprOpenGL->m_RenderData.pMonitor->scale).round();
}
CRegion CRectPassElement::opaqueRegion() {