summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-05-16 12:42:36 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-16 12:42:36 +0200
commit8e8b1e1eacc4e2c19c9878625f423c8e09e2d3b9 (patch)
treed7e2ca6400a3f68df8fb84bbd002f4c0e0e9c4c4 /tiny_skia
parent9706c99310d6fc7fedf40e579e652634ad8c2a87 (diff)
parenta3f32ad201c8f3aaa9efd849c917e5e106d31a9b (diff)
downloadiced-8e8b1e1eacc4e2c19c9878625f423c8e09e2d3b9.tar.gz
iced-8e8b1e1eacc4e2c19c9878625f423c8e09e2d3b9.tar.bz2
iced-8e8b1e1eacc4e2c19c9878625f423c8e09e2d3b9.zip
Merge pull request #1854 from wash2/fix-clear-blend-mode
fix: when clearing damaged surface with background color blend mode should be Source only
Diffstat (limited to 'tiny_skia')
-rw-r--r--tiny_skia/src/backend.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tiny_skia/src/backend.rs b/tiny_skia/src/backend.rs
index d481bacd..39bed555 100644
--- a/tiny_skia/src/backend.rs
+++ b/tiny_skia/src/backend.rs
@@ -91,6 +91,7 @@ impl Backend {
background_color,
)),
anti_alias: false,
+ blend_mode: tiny_skia::BlendMode::Source,
..Default::default()
},
tiny_skia::FillRule::default(),