Updated README. Added example config. Added default font for ease of use.

This commit is contained in:
2025-12-04 15:32:42 +02:00
parent 77514c4d13
commit 58abb91c64
5 changed files with 23 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ void clean_sdl()
SDL_Quit();
}
TTF_Font* get_font(const string& filename, int size)
TTF_Font* get_font(int size, const string& filename)
{
pair<string, int> key(filename, size);
if (0 != font_map.count(key))