Skip to content

Commit

Permalink
fix: when clearing damaged surface with background color blend mode s…
Browse files Browse the repository at this point in the history
…hould be Source only
  • Loading branch information
wash2 committed May 15, 2023
1 parent 9706c99 commit a3f32ad
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 a3f32ad

Please sign in to comment.