Skip to content

Commit

Permalink
fix problem build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponchale committed Jul 28, 2024
1 parent ba100c6 commit 0243488
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gfx/wr/webrender/src/picture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4726,7 +4726,6 @@ impl PicturePrimitive {
// Ensure that the dirty rect doesn't extend outside the local valid rect.
tile.local_dirty_rect = tile.local_dirty_rect
.intersection(&tile.current_descriptor.local_valid_rect)
.unwrap_or_else(PictureRect::zero);
.unwrap_or_else(|| { tile.is_valid = true; PictureRect::zero() });

surface_local_dirty_rect = surface_local_dirty_rect.union(&tile.local_dirty_rect);
Expand Down

0 comments on commit 0243488

Please sign in to comment.