From 8296fa3a8fa773adbf7544910fd12f84c278cfc3 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Tue, 14 Oct 2025 15:32:16 -0400 Subject: text rendering which doesn't work --- font.c | 1 + 1 file changed, 1 insertion(+) (limited to 'font.c') diff --git a/font.c b/font.c index 371a0f9..ef95d79 100644 --- a/font.c +++ b/font.c @@ -122,6 +122,7 @@ void atlas_create_texture(client_state* state) { GL_UNSIGNED_BYTE, state->ft_face->glyph->bitmap.buffer); x += state->ft_face->glyph->bitmap.width; + metric->texture_size = (float)x / state->atlas.width; } } -- cgit v1.2.3