precache glyphs in fonts

This commit is contained in:
Sebastian Krzyszkowiak 2019-01-13 18:19:44 +01:00
parent ef77bedeae
commit 6211dcbf57
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -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;