For example, I have:
sf::RenderWindow window;
sf::Texture text1, text2;
sf::Sprite a, b, c, d;
All of it initialized. text1 and text2 has different files. Then I do:
a.setTexture(text1);
b.setTexture(text1);
c.setTexture(text2);
d.setTexture(text2);
Is it faster to do:
window.clear()
window.draw(a);
window.draw(b);
window.draw(c);
window.draw(d);
window.display();
than if I do:
window.clear();
window.draw(a);
window.draw(c);
window.draw(b);
window.draw(d);
window.display();
?