diff options
author | talha <sarcxd@gmail.com> | 2025-02-22 20:46:25 +0500 |
---|---|---|
committer | talha <sarcxd@gmail.com> | 2025-02-22 20:46:25 +0500 |
commit | 936b9b3e0f09edf92a17fcbacc43098c61728d9d (patch) | |
tree | d948a3d9e6c6d1d5c3c255fc9fb9ba6074d841ac /source/shaders/ui_text.vs.glsl | |
parent | 7342249cbdac9aa1ed061552d4a10746eab72c6c (diff) |
WIP: replacing freetype with stb_truetype
Diffstat (limited to 'source/shaders/ui_text.vs.glsl')
-rwxr-xr-x | source/shaders/ui_text.vs.glsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/shaders/ui_text.vs.glsl b/source/shaders/ui_text.vs.glsl index 9bba904..d33cdbe 100755 --- a/source/shaders/ui_text.vs.glsl +++ b/source/shaders/ui_text.vs.glsl @@ -11,6 +11,7 @@ void main() { gl_Position = Projection * View * LetterTransforms[gl_InstanceID] * vec4(aPos, 0.0, 1.0); vec2 tex = aPos; TexCoords = tex; + // flip texture coordinates TexCoords.y = 1.0 - TexCoords.y; Index = gl_InstanceID; } |