]> git.sesse.net Git - movit/blob - texture1d.150.frag
Hard-assert on something that has bitten me too many times now.
[movit] / texture1d.150.frag
1 #version 150
2
3 uniform sampler2D tex;
4 in vec2 tc;
5
6 out vec4 FragColor;
7
8 void main()
9 {
10         FragColor = texture(tex, tc);  // Second component is irrelevant.
11 }