summaryrefslogtreecommitdiff
path: root/src/SFML/Graphics/Sprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SFML/Graphics/Sprite.cpp')
-rw-r--r--src/SFML/Graphics/Sprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SFML/Graphics/Sprite.cpp b/src/SFML/Graphics/Sprite.cpp
index e24c8f2..41183ec 100644
--- a/src/SFML/Graphics/Sprite.cpp
+++ b/src/SFML/Graphics/Sprite.cpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
+// Copyright (C) 2007-2016 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -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);
}
}