aboutsummaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'font.c')
-rw-r--r--font.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/font.c b/font.c
index dc8f03c..569d283 100644
--- a/font.c
+++ b/font.c
@@ -138,6 +138,7 @@ void atlas_create_texture(client_state* state) {
int atlas_get_strwidth(client_state* state, const char* str) {
float width = 0;
+ // TODO - UNICODE MAKE WORKY
for (int i = 0; i < strlen(str); i++) {
width += ceil(state->atlas.metrics[(int)str[i]].advance_x);
}