add the long awaited push_9slice
This commit is contained in:
@ -24,7 +24,7 @@ static void title_tick(State *state) {
|
||||
char *text_str = cmalloc(text_str_len);
|
||||
snprintf(text_str, text_str_len, "%lu", state->ctx->tick_count);
|
||||
|
||||
const char *font = "fonts/kenney-pixel.ttf";
|
||||
const char *font = "/fonts/kenney-pixel.ttf";
|
||||
int text_h = 32;
|
||||
int text_w = text_get_width(text_str, text_h, font);
|
||||
|
||||
|
Reference in New Issue
Block a user