fixed text rendering in non-glsl implementation.

This commit is contained in:
rachytski 2012-08-24 18:50:50 +03:00 committed by Alex Zolotarev
parent e38e7f0ff2
commit 89a199f582

View file

@ -116,7 +116,11 @@ namespace yg
glyphPt = pv + offs + elem.m_pt;
glyphAngle = elem.m_angle;
#ifdef USING_GLSL
screen->drawStraightGlyph(pv, offs + elem.m_pt, glyphStyle, depth);
#else
screen->drawGlyph(glyphPt, m2::PointD(0.0, 0.0), glyphAngle, 0, glyphStyle, depth);
#endif
}
else
{