diff options
author | Joe Wilm <joe@jwilm.com> | 2016-02-23 20:42:58 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-02-23 20:42:58 -0800 |
commit | 2b7caf95fd6a28d621a348e95f66dd2aee988567 (patch) | |
tree | ccfd1e7c0c4c86ecdd36c7e98d164f58b34132d0 /res/text.v.glsl | |
parent | e301843686c3f7ce04b7e44e82f20e8f6e3613a7 (diff) | |
download | r-alacritty-2b7caf95fd6a28d621a348e95f66dd2aee988567.tar.gz r-alacritty-2b7caf95fd6a28d621a348e95f66dd2aee988567.tar.bz2 r-alacritty-2b7caf95fd6a28d621a348e95f66dd2aee988567.zip |
Render the letter J
This letter brought to you by OpenGL and freetype.
Diffstat (limited to 'res/text.v.glsl')
-rw-r--r-- | res/text.v.glsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/res/text.v.glsl b/res/text.v.glsl new file mode 100644 index 00000000..89bded5c --- /dev/null +++ b/res/text.v.glsl @@ -0,0 +1,11 @@ +#version 330 core +layout (location = 0) in vec4 vertex; +out vec2 TexCoords; + +uniform mat4 projection; + +void main() +{ + gl_Position = projection * vec4(vertex.xy, 0.0, 1.0); + TexCoords = vertex.zw; +} |