Utility/SimpleTextDrawer: Fix drawer regenerating glyphs everytime

This commit is contained in:
Lynix 2017-09-01 08:59:27 +02:00
parent a85ded1262
commit a1ddce8dfb
1 changed files with 3 additions and 0 deletions

View File

@ -396,6 +396,9 @@ namespace Nz
m_lines.back().bounds.ExtendTo(m_glyphs.back().bounds);
m_bounds.Set(Rectf(std::floor(m_workingBounds.x), std::floor(m_workingBounds.y), std::ceil(m_workingBounds.width), std::ceil(m_workingBounds.height)));
m_colorUpdated = true;
m_glyphUpdated = true;
}
void SimpleTextDrawer::OnFontAtlasLayerChanged(const Font* font, AbstractImage* oldLayer, AbstractImage* newLayer)