Add TTF support

This commit is contained in:
2025-12-08 21:16:20 +08:00
parent f8f397af50
commit 7067214c34
5 changed files with 61 additions and 2 deletions

View File

@@ -58,5 +58,6 @@ SDL_AppResult SDL_AppIterate(void *appstate) {
// 4. 应用退出回调(清理资源)
void SDL_AppQuit(void *appstate, SDL_AppResult result) {
delete static_cast<GameApplication*>(appstate);
TTF_Quit();
SDL_Quit();
}