Changed primitive types to be grammatically correct.
This commit is contained in:
parent
fb40e7e43f
commit
afb8254b6d
4 changed files with 16 additions and 11 deletions
|
@ -163,8 +163,8 @@ m_textureRect (),
|
|||
m_fillColor (255, 255, 255),
|
||||
m_outlineColor (255, 255, 255),
|
||||
m_outlineThickness(0),
|
||||
m_vertices (TrianglesFan),
|
||||
m_outlineVertices (TrianglesStrip),
|
||||
m_vertices (TriangleFan),
|
||||
m_outlineVertices (TriangleStrip),
|
||||
m_insideBounds (),
|
||||
m_bounds ()
|
||||
{
|
||||
|
|
|
@ -140,7 +140,7 @@ void Sprite::draw(RenderTarget& target, RenderStates states) const
|
|||
{
|
||||
states.transform *= getTransform();
|
||||
states.texture = m_texture;
|
||||
target.draw(m_vertices, 4, TrianglesStrip, states);
|
||||
target.draw(m_vertices, 4, TriangleStrip, states);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue