I want to draw a sf::Texture to a simple sf::VertexArray/ sf::Quad, like the attached image shows, but if i simply map the quads vertexes to the texture it doesn't draw my quad like the image because the quad is divided into two triangles and that deforms the texture, causing a split in the middle, how can I avoid this?
Thank you in advance.
P.S: I've also tried to draw 4 difrent triangles and a triangle fan with 6 points with the 0 in the middle and the vertex 1 being equal to the 5th