Linked against SDL ttf

This commit is contained in:
2023-03-05 23:27:07 +11:00
parent f42ee8b655
commit 14524c261b
7 changed files with 47 additions and 13 deletions

View File

@@ -51,6 +51,11 @@ void Box_initEngine() {
fatalError("Failed to initialize SDL2_image");
}
//init SDL_ttf
if (TTF_Init() == -1) {
fatalError("Failed to initialize SDL2_ttf");
}
//init events
Toy_initLiteralDictionary(&engine.symKeyDownEvents);
Toy_initLiteralDictionary(&engine.symKeyUpEvents);