sf::Text no longer forces the BlendAlpha blending mode

This commit is contained in:
Laurent Gomila 2012-08-10 15:03:28 +02:00
parent 2b3d9bdd91
commit 1b1bc4c067

View File

@ -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);
}