Skip to content

Commit

Permalink
wezterm: use full alpha blending for glyphs
Browse files Browse the repository at this point in the history
refs: #413
  • Loading branch information
wez committed Feb 3, 2021
1 parent dafb429 commit 70a364e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wezterm-gui/src/gui/termwindow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2807,6 +2807,13 @@ impl TermWindow {
&draw_params,
)?;

// Use regular alpha blending when we draw the glyphs!
// <https://github.com/wez/wezterm/issues/413>
let draw_params = glium::DrawParameters {
blend: glium::Blend::alpha_blending(),
..Default::default()
};

// Pass 3: Draw glyphs
frame.draw(
&*vb,
Expand Down

0 comments on commit 70a364e

Please sign in to comment.