From 350e75f836bb35dc42906829086a7ff44ad17bc0 Mon Sep 17 00:00:00 2001 From: randy Date: Thu, 28 Sep 2023 22:13:38 -0500 Subject: [PATCH] Forgot a test line. I ran asan and valgrind and it looks like they're happy outside of GPU shit that's out of my hands. --- source/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/main.c b/source/main.c index 20cad9a..7feaca1 100644 --- a/source/main.c +++ b/source/main.c @@ -23,9 +23,7 @@ int init() TTF_Init(); runtime.font = TTF_OpenFont(config_font_path, config_font_size); assert(runtime.font != NULL); - init_renderer(&runtime); - runtime.keep_alive = 1; return 0; @@ -54,15 +52,14 @@ int main(void) } TTF_Quit(); - int32_t refresh_layout(Runtime_Info* runtime); - refresh_layout(NULL); return 0; } void killterm_handler(int signum) { shutdown_renderer(&runtime); + TTF_CloseFont(runtime.font); TTF_Quit(); exit(0); } -- 2.49.0