]> git.sesse.net Git - movit/blob - texture1d.130.frag
We switched to #version 300 es shaders for GLES a while back, so we now have round().
[movit] / texture1d.130.frag
1 #version 130
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 }