Skip to content

Commit

Permalink
ee
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Dec 9, 2024
1 parent 5cea2fd commit 0980ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/pass/TexPassElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ bool CTexPassElement::needsLiveBlur() {
auto PSURFACE = CWLSurface::fromResource(data.surface);

const float ALPHA = data.alpha * data.fadeAlpha * (PSURFACE ? PSURFACE->m_pAlphaModifier : 1.F);
const bool BLUR = data.blur && (!data.texture->m_bOpaque || ALPHA < 1.F);
const bool BLUR = data.blur && (!data.texture || !data.texture->m_bOpaque || ALPHA < 1.F);

if (!data.pLS && !data.pWindow)
return BLUR;
Expand Down

0 comments on commit 0980ed5

Please sign in to comment.