mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
precache glyphs in fonts
This commit is contained in:
parent
ef77bedeae
commit
6211dcbf57
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
|||
|
||||
InitConfig(game);
|
||||
|
||||
al_set_config_value(al_get_system_config(), "ttf", "cache_text", "0123456789QWERTYUIOPASDFGHJKLZXCVBNMĘÓĄŚŁŻŹĆŃqwertyuiopasdfghjklzxcvbnmęóąśłżźćń.@#$%^&*():\"!?\\[];'{}|,<>/~`-=_+ ");
|
||||
|
||||
game->_priv.fps_count.frames_done = 0;
|
||||
game->_priv.fps_count.fps = 0;
|
||||
game->_priv.fps_count.old_time = 0;
|
||||
|
|
Loading…
Reference in a new issue