Shape::setOutlineThickness now allows negative values

This commit is contained in:
Laurent Gomila 2012-07-15 13:47:14 +02:00
parent e3261f0430
commit 26d5620817
2 changed files with 4 additions and 3 deletions

View file

@ -213,7 +213,7 @@ void Shape::draw(RenderTarget& target, RenderStates states) const
}
// Render the outline
if ((m_outlineColor.a > 0) && (m_outlineThickness > 0))
if ((m_outlineColor.a > 0) && (m_outlineThickness != 0))
{
states.texture = NULL;
target.draw(m_outlineVertices, states);