mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-10 20:49:50 +01:00
pass: scale blur region in ::render
This commit is contained in:
parent
a364e80425
commit
3f40d6d936
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ CRegion CRenderPass::render(const CRegion& damage_) {
|
||||||
blurRegion.add(*BB);
|
blurRegion.add(*BB);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blurRegion.scale(g_pHyprOpenGL->m_RenderData.pMonitor->scale);
|
||||||
|
|
||||||
blurRegion.intersect(damage).expand(oneBlurRadius());
|
blurRegion.intersect(damage).expand(oneBlurRadius());
|
||||||
|
|
||||||
g_pHyprOpenGL->m_RenderData.finalDamage = blurRegion.copy().add(damage);
|
g_pHyprOpenGL->m_RenderData.finalDamage = blurRegion.copy().add(damage);
|
||||||
|
|
Loading…
Reference in a new issue