summaryrefslogtreecommitdiff
path: root/source/shaders/ui_text.vs.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'source/shaders/ui_text.vs.glsl')
-rwxr-xr-xsource/shaders/ui_text.vs.glsl1
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;
}