SimpleTextDrawer: Assert after update
This commit is contained in:
parent
74af157113
commit
506a963539
|
|
@ -105,11 +105,10 @@ namespace Nz
|
|||
|
||||
const AbstractTextDrawer::Line& SimpleTextDrawer::GetLine(std::size_t index) const
|
||||
{
|
||||
NazaraAssert(index < m_lines.size(), "Line index out of range");
|
||||
|
||||
if (!m_glyphUpdated)
|
||||
UpdateGlyphs();
|
||||
|
||||
NazaraAssert(index < m_lines.size(), "Line index out of range");
|
||||
return m_lines[index];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue