pass: scale blur region in ::render

This commit is contained in:
Vaxry 2024-12-29 12:56:58 +01:00
parent a364e80425
commit 3f40d6d936

View file

@ -133,6 +133,8 @@ CRegion CRenderPass::render(const CRegion& damage_) {
blurRegion.add(*BB);
}
blurRegion.scale(g_pHyprOpenGL->m_RenderData.pMonitor->scale);
blurRegion.intersect(damage).expand(oneBlurRadius());
g_pHyprOpenGL->m_RenderData.finalDamage = blurRegion.copy().add(damage);