mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 20:14:12 +02:00
DRYer
This commit is contained in:
@@ -4,6 +4,7 @@ uniform vec4 y_coords;
|
||||
out vec2 frag_pos;
|
||||
|
||||
void main() {
|
||||
frag_pos = vec2(x_coords[gl_VertexID], y_coords[gl_VertexID]);
|
||||
gl_Position = vec4(x_coords[gl_VertexID], y_coords[gl_VertexID], 1.0, 1.0);
|
||||
vec2 pos = vec2(x_coords[gl_VertexID], y_coords[gl_VertexID]);
|
||||
gl_Position = vec4(pos, 1.0, 1.0);
|
||||
frag_pos = pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user