Shape::setOutlineThickness now allows negative values
This commit is contained in:
parent
e3261f0430
commit
26d5620817
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue