diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-10-14 15:32:16 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-10-14 15:32:16 -0400 |
| commit | 8296fa3a8fa773adbf7544910fd12f84c278cfc3 (patch) | |
| tree | 16417661e1efd266438171abc932cde357121ebd /font.c | |
| parent | 458f9d0b5f1b83d3f2e11cead790cdf6ac867e11 (diff) | |
text rendering which doesn't work
Diffstat (limited to 'font.c')
| -rw-r--r-- | font.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } } |
