1
Graphics / How to draw sprite on texture in SFML2.0?
« on: December 04, 2011, 01:01:43 pm »
I have this objects in SFML 2.0:
Code: [Select]
sf::Texture texture1; texture1.LoadFromFile("texture1.jpg");
sf::Texture texture2; texture2.LoadFromFile("texture2.jpg");
sf::Sprite sprite1(texture1);
How to render sprite1 on texture2?