sf::Text no longer forces the BlendAlpha blending mode
This commit is contained in:
parent
2b3d9bdd91
commit
1b1bc4c067
@ -216,7 +216,6 @@ void Text::draw(RenderTarget& target, RenderStates states) const
|
|||||||
if (m_font)
|
if (m_font)
|
||||||
{
|
{
|
||||||
states.transform *= getTransform();
|
states.transform *= getTransform();
|
||||||
states.blendMode = BlendAlpha; // alpha blending is mandatory for proper text rendering
|
|
||||||
states.texture = &m_font->getTexture(m_characterSize);
|
states.texture = &m_font->getTexture(m_characterSize);
|
||||||
target.draw(m_vertices, states);
|
target.draw(m_vertices, states);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user