renderer: fix blockBlurOptimization check (#13685)

This commit is contained in:
staz 2026-03-14 02:59:28 +05:00 committed by GitHub
parent de3471b335
commit 9bf8fe7a52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);