minor fixes
This commit is contained in:
@@ -52,6 +52,8 @@ namespace OpenVulkano::Scene
|
||||
{
|
||||
return;
|
||||
}
|
||||
// just in case if FontAtlasGenerator changed it's atlas
|
||||
m_material.texture = const_cast<Texture*>(&m_fontAtlasGenerator->GetAtlas());
|
||||
std::map<unicode_t, GlyphInfo>& symbols = m_fontAtlasGenerator->GetAtlasInfo();
|
||||
m_geometry.Close();
|
||||
m_geometry.Init(text.size() * 4, text.size() * 6);
|
||||
|
||||
Reference in New Issue
Block a user