fixed order of text mask rendering in StraightTextElement.

This commit is contained in:
rachytski 2013-01-24 19:49:05 +03:00 committed by Alex Zolotarev
parent 3f3deb964d
commit 44b15ecaa4

View file

@ -270,7 +270,7 @@ namespace graphics
for (unsigned i = 0; i < m_glyphLayouts.size(); ++i)
{
if (m_glyphLayouts[i].fontDesc().m_isMasked)
drawTextImpl(m_glyphLayouts[i], screen, m, true, true, m_glyphLayouts[i].fontDesc(), depth() - 0.1);
drawTextImpl(m_glyphLayouts[i], screen, m, true, true, m_glyphLayouts[i].fontDesc(), depth());
}
for (unsigned i = 0; i < m_glyphLayouts.size(); ++i)