From 857f8c72c030aacb84016c9ad30b944d56133f66 Mon Sep 17 00:00:00 2001 From: grovesNL Date: Fri, 3 Jun 2022 00:31:46 -0230 Subject: [PATCH] Use premultiplied alpha blending from coverage --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 439fe41..0fe343e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -290,7 +290,7 @@ impl TextAtlas { entry_point: "fs_main", targets: &[ColorTargetState { format, - blend: Some(BlendState::ALPHA_BLENDING), + blend: Some(BlendState::PREMULTIPLIED_ALPHA_BLENDING), write_mask: ColorWrites::default(), }], }),