mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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)
|
||||
{
|
||||
states.transform *= getTransform();
|
||||
states.blendMode = BlendAlpha; // alpha blending is mandatory for proper text rendering
|
||||
states.texture = &m_font->getTexture(m_characterSize);
|
||||
target.draw(m_vertices, states);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user