title: how to use a vertexarray in SFML?
body: <p>I'm trying to draw a texture on a <code>sf::vertexarray</code>
  if I call the below code (without the texture), I can display fine a rectangle with red border. When I add the texture, I see nothing.</p>
  
  <p>What am I doing wrong? </p>
  
  <pre><code>sf::VertexArray v_array;
  v_array.append(sf::Vertex(sf::Vector2f(1,1) , sf::Color::Red));
  v_array.append(sf::Vertex(sf::Vector2f(60,1) , sf::Color::Red));
  v_array.append(sf::Vertex(sf::Vector2f(60,10 ), sf::Color::Red));
  v_array.append(sf::Vertex(sf::Vector2f(1,10), sf::Color::Red));
  v_array.append(sf::Vertex(sf::Vector2f(1,1), sf::Color::Red ));
  
  v_array.setPrimitiveType(sf::LinesStrip);
  sf::Texture text;
  text.loadFromFile("../ressources/tileset_base.png");
  
  sf::RenderStates rend(&amp;text);
  
  sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
  
  // Start game loop
  while (App.isOpen())
  {
      // Process events
      sf::Event Event;
      while (App.pollEvent(Event))
      {
          // Close window : exit
          if (Event.type == sf::Event::Closed)
              App.close();
      }
      App.clear();
      App.draw(v_array/*, rend*/);
      App.display();
  }
  </code></pre>