Updated README. Added example config. Added default font for ease of use.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user