Skip to content

Commit

Permalink
Merge pull request #1854 from wash2/fix-clear-blend-mode
Browse files Browse the repository at this point in the history
fix: when clearing damaged surface with background color blend mode should be Source only
  • Loading branch information
hecrj authored May 16, 2023
2 parents 9706c99 + a3f32ad commit 8e8b1e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiny_skia/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl Backend {
background_color,
)),
anti_alias: false,
blend_mode: tiny_skia::BlendMode::Source,
..Default::default()
},
tiny_skia::FillRule::default(),
Expand Down

0 comments on commit 8e8b1e1

Please sign in to comment.