forked from organicmaps/organicmaps
fixed text rendering in non-glsl implementation.
This commit is contained in:
parent
e38e7f0ff2
commit
89a199f582
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue