diff options
author | Joe Wilm <joe@jwilm.com> | 2016-02-24 19:09:21 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-02-24 19:09:21 -0800 |
commit | 24b4c3ba4778125c49b8c27efb5a404984aac4bb (patch) | |
tree | 3485a2a25d875a30e0066524c969bdd193360257 /res/text.f.glsl | |
parent | 400e4c92a77f875c502847f727cde5f433835b14 (diff) | |
download | alacritty-24b4c3ba4778125c49b8c27efb5a404984aac4bb.tar.gz alacritty-24b4c3ba4778125c49b8c27efb5a404984aac4bb.zip |
Fragment shader supplies color correctly
Diffstat (limited to 'res/text.f.glsl')
-rw-r--r-- | res/text.f.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/text.f.glsl b/res/text.f.glsl index 32266b3e..fccddafc 100644 --- a/res/text.f.glsl +++ b/res/text.f.glsl @@ -7,5 +7,5 @@ uniform vec3 textColor; void main() { vec4 sampled = vec4(1.0, 1.0, 1.0, texture(text, TexCoords).r); - gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0) * sampled; + gl_FragColor = vec4(textColor, 1.0) * sampled; } |