Fixed compile errors in sf::Vertex with LLVM GCC 4.2 on OS X Lion

This commit is contained in:
Laurent Gomila 2011-12-04 20:37:08 +01:00
parent 0548b226ef
commit a2fcb75876

View File

@ -67,7 +67,7 @@ public :
/// \param color Vertex color
///
////////////////////////////////////////////////////////////
Vertex(const Vector2f& position, const Color& color);
Vertex(const Vector2f& position, const sf::Color& color);
////////////////////////////////////////////////////////////
/// \brief Construct the vertex from its position and texture coordinates
@ -88,7 +88,7 @@ public :
/// \param texCoords Vertex texture coordinates
///
////////////////////////////////////////////////////////////
Vertex(const Vector2f& position, const Color& color, const Vector2i& texCoords);
Vertex(const Vector2f& position, const sf::Color& color, const Vector2i& texCoords);
////////////////////////////////////////////////////////////
// Member data