mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 09:58:00 +02:00
renderer: fix blockBlurOptimization check (#13685)
This commit is contained in:
parent
de3471b335
commit
9bf8fe7a52
1 changed files with 1 additions and 1 deletions
|
|
@ -1062,7 +1062,7 @@ void IHyprRenderer::drawTex(CTexPassElement* element, const CRegion& damage) {
|
|||
element->m_data.blockBlurOptimization.value_or(false) || !shouldUseNewBlurOptimizations(element->m_data.currentLS.lock(), m_renderData.currentWindow.lock());
|
||||
|
||||
// vvv TODO: layered blur fbs?
|
||||
if (element->m_data.blockBlurOptimization) {
|
||||
if (element->m_data.blockBlurOptimization.value_or(false)) {
|
||||
inverseOpaque.translate(box.pos());
|
||||
m_renderData.renderModif.applyToRegion(inverseOpaque);
|
||||
inverseOpaque.intersect(element->m_data.damage);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue