]> git.sesse.net Git - nageru/blob - nageru/timecode.vert
Fix a comment typo.
[nageru] / nageru / timecode.vert
1 #version 130
2
3 in vec2 position;
4 in vec2 texcoord;
5 out vec2 tc0;
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     tc0 = texcoord;
17 }