mirror of
https://github.com/alacritty/alacritty
synced 2024-09-06 00:04:40 +00:00
Fragment shader supplies color correctly
This commit is contained in:
parent
400e4c92a7
commit
24b4c3ba47
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue