diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-10-31 13:56:07 -0700 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2013-10-31 13:56:07 -0700 |
| commit | 7a83bc70d95f33df9c79c6b97bd4e9eca5aa3e8e (patch) | |
| tree | 913a392de39944843123f13c0097fac881fe16bd /unity-shared | |
| parent | a9a44204506cb98ed665e3f94c060058484e57e5 (diff) | |
BackgroundEffectHelper: use IsIntersecting
(bzr r3347.3.16)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/BackgroundEffectHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/BackgroundEffectHelper.cpp b/unity-shared/BackgroundEffectHelper.cpp index d48aad978..0d86d3aba 100644 --- a/unity-shared/BackgroundEffectHelper.cpp +++ b/unity-shared/BackgroundEffectHelper.cpp @@ -74,7 +74,7 @@ void BackgroundEffectHelper::ProcessDamage(nux::Geometry const& geo) if (bg_effect_helper->cache_dirty || !bg_effect_helper->owner || !bg_effect_helper->enabled) continue; - if (!geo.Intersect(bg_effect_helper->blur_geometry_).IsNull()) + if (geo.IsIntersecting(bg_effect_helper->blur_geometry_)) { bg_effect_helper->DirtyCache(); } |
