fix android main loop, scale font texture

This commit is contained in:
2019-08-11 21:30:05 +02:00
parent 596e8760fa
commit 40e01ba1db
3 changed files with 4 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ bool Font::load(const std::string& ttf, int font_size, float font_scale)
LOG("Font::load %s", ttf.c_str());
if (file.open(ttf.c_str()) && file.read_all())
{
w = h = 512 * ceilf(font_scale);
path = ttf;
scale = font_scale;
LOG("Font::load loaded");