Use premultiplied alpha blending from coverage
This commit is contained in:
parent
32a6e1d876
commit
857f8c72c0
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ impl TextAtlas {
|
||||||
entry_point: "fs_main",
|
entry_point: "fs_main",
|
||||||
targets: &[ColorTargetState {
|
targets: &[ColorTargetState {
|
||||||
format,
|
format,
|
||||||
blend: Some(BlendState::ALPHA_BLENDING),
|
blend: Some(BlendState::PREMULTIPLIED_ALPHA_BLENDING),
|
||||||
write_mask: ColorWrites::default(),
|
write_mask: ColorWrites::default(),
|
||||||
}],
|
}],
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue