From 8496ea4a40e46a9cd8b42f079ed425b669567462 Mon Sep 17 00:00:00 2001 From: herbglitch Date: Fri, 13 Dec 2024 03:30:55 -0700 Subject: [PATCH] temp font fix --- packages/graphics/sdl/text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/graphics/sdl/text.c b/packages/graphics/sdl/text.c index 6cdf23d..ed051d0 100644 --- a/packages/graphics/sdl/text.c +++ b/packages/graphics/sdl/text.c @@ -16,6 +16,7 @@ void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color (*text)->texture = NULL; (*text)->bounds = (ARC_Rect){ 0, 0, 0, 0 }; + //TODO: fix this if(TTF_Init()==-1) { printf("TTF_Init: %s\n", TTF_GetError()); exit(2);