fix: when clearing damaged surface with background color blend mode should be Source only

This commit is contained in:
Ashley Wulber 2023-05-15 13:40:52 -04:00
parent 9706c99310
commit a3f32ad201
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

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(),