added ttf example with public domain font

This commit is contained in:
Ada Lovegirls 2020-06-24 14:19:48 -05:00
parent cb6412c2b1
commit 09bab892f1

View File

@ -73,7 +73,7 @@ int main(int argc, char** argv) {
int exit_requested = 0; int exit_requested = 0;
int trail = 0; int trail = 0;
int wait = 25; int wait = 25;
SDL_Texture *switchlogo_tex = NULL, *sdllogo_tex = NULL; SDL_Texture *switchlogo_tex = NULL, *sdllogo_tex = NULL;
SDL_Rect pos = { 0, 0, 0, 0 }, sdl_pos = { 0, 0, 0, 0 }; SDL_Rect pos = { 0, 0, 0, 0 }, sdl_pos = { 0, 0, 0, 0 };
Mix_Music *music = NULL; Mix_Music *music = NULL;