renderer: fix oversized blur precalcs not blurring at all

fixes #8839
This commit is contained in:
Vaxry 2024-12-30 20:00:34 +01:00
parent af301312d5
commit 9f933da1c5

View file

@ -536,6 +536,7 @@ void CHyprRenderer::renderWindow(PHLWINDOW pWindow, PHLMONITOR pMonitor, timespe
data.color = CHyprColor(0, 0, 0, 0);
data.box = wb;
data.round = renderdata.dontRound ? 0 : renderdata.rounding - 1;
data.blur = true;
data.blurA = renderdata.fadeAlpha;
data.xray = g_pHyprOpenGL->shouldUseNewBlurOptimizations(nullptr, pWindow);
m_sRenderPass.add(makeShared<CRectPassElement>(data));