Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hparty committed Jan 14, 2025
1 parent 7b59a20 commit c65abf3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/filters/BlurImageFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ std::shared_ptr<TextureProxy> BlurImageFilter::lockTextureProxy(std::shared_ptr<
// intersect the bounds.
auto boundsWillSample = filterBounds(clipBounds);
auto filterOriginBounds = filterBounds(Rect::MakeWH(source->width(), source->height()));
auto intersectResult = boundsWillSample.intersect(filterOriginBounds);
DEBUG_ASSERT(intersectResult);
boundsWillSample.intersect(filterOriginBounds);

// sampleOffset means the offset between the source bounds and the sample bounds.
auto sampleOffset = Point::Make(boundsWillSample.left, boundsWillSample.top);
Expand Down

0 comments on commit c65abf3

Please sign in to comment.