refactor font loading
This commit is contained in:
@@ -168,10 +168,6 @@ void App::initAssets()
|
||||
{
|
||||
LOG("initializing assets");
|
||||
FontManager::init();
|
||||
LOG("initializing assets loading fonts");
|
||||
FontManager::load("arial-17", "data/fonts/Roboto-Regular.ttf", 17, display_density * zoom);
|
||||
FontManager::load("arial-20", "data/fonts/Roboto-Regular.ttf", 20, display_density * zoom);
|
||||
FontManager::load("arial-30", "data/fonts/Roboto-Regular.ttf", 30, display_density * zoom);
|
||||
|
||||
LOG("initializing assets create sampler");
|
||||
sampler.create(GL_NEAREST);
|
||||
|
||||
Reference in New Issue
Block a user