Merge pull request #1854 from wash2/fix-clear-blend-mode

fix: when clearing damaged surface with background color blend mode should be Source only
This commit is contained in:
Héctor Ramón 2023-05-16 12:42:36 +02:00 committed by GitHub
commit 8e8b1e1eac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,7 @@ impl Backend {
background_color,
)),
anti_alias: false,
blend_mode: tiny_skia::BlendMode::Source,
..Default::default()
},
tiny_skia::FillRule::default(),