remove busted free
This commit is contained in:
parent
a7557fceb4
commit
3f264ca0ad
@ -27,7 +27,6 @@ static void title_tick(State *state) {
|
||||
size_t text_str_len = snprintf(NULL, 0, "%llu", (unsigned long long)state->ctx->frame_number) + 1;
|
||||
char *text_str = malloc(text_str_len);
|
||||
snprintf(text_str, text_str_len, "%llu", (unsigned long long)state->ctx->frame_number);
|
||||
free(text_str);
|
||||
|
||||
const char *font = "fonts/kenney-pixel.ttf";
|
||||
float text_h = 32;
|
||||
|
Loading…
Reference in New Issue
Block a user