From 936b9b3e0f09edf92a17fcbacc43098c61728d9d Mon Sep 17 00:00:00 2001 From: talha <sarcxd@gmail.com> Date: Sat, 22 Feb 2025 20:46:25 +0500 Subject: WIP: replacing freetype with stb_truetype --- source/shaders/ui_text.vs.glsl | 1 + 1 file changed, 1 insertion(+) (limited to 'source/shaders/ui_text.vs.glsl') 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; } -- cgit v1.2.3