diff options
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; } } |
