]> git.sesse.net Git - movit/blob - vs.130.vert
Fix a comment.
[movit] / vs.130.vert
1 #version 130
2
3 in vec2 position;
4 in vec2 texcoord;
5 out vec2 tc;
6
7 void main()
8 {
9         // The result of glOrtho(0.0, 1.0, 0.0, 1.0, 0.0, 1.0) is:
10         //
11         //   2.000  0.000  0.000 -1.000
12         //   0.000  2.000  0.000 -1.000
13         //   0.000  0.000 -2.000 -1.000
14         //   0.000  0.000  0.000  1.000
15         gl_Position = vec4(2.0 * position.x - 1.0, 2.0 * position.y - 1.0, -1.0, 1.0);
16         tc = texcoord;
17 }