diff options
Diffstat (limited to 'alacritty/res')
-rw-r--r-- | alacritty/res/text.f.glsl | 2 | ||||
-rw-r--r-- | alacritty/res/text.v.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/alacritty/res/text.f.glsl b/alacritty/res/text.f.glsl index d5e26881..5b4e3da6 100644 --- a/alacritty/res/text.f.glsl +++ b/alacritty/res/text.f.glsl @@ -18,7 +18,7 @@ void main() { } alphaMask = vec4(1.0); - color = vec4(bg.rgb, 1.0); + color = vec4(bg.rgb, bg.a); } else if ((int(fg.a) & COLORED) != 0) { // Color glyphs, like emojis. vec4 glyphColor = texture(mask, TexCoords); diff --git a/alacritty/res/text.v.glsl b/alacritty/res/text.v.glsl index 31e6f934..a4a31382 100644 --- a/alacritty/res/text.v.glsl +++ b/alacritty/res/text.v.glsl @@ -65,6 +65,6 @@ void main() { TexCoords = uvOffset + position * uvSize; } - bg = vec4(backgroundColor.rgb / 255.0, backgroundColor.a); + bg = backgroundColor / 255.0; fg = vec4(textColor.rgb / 255.0, textColor.a); } |