Sorry for the bad English.
Noticed a bug, when using void sf:: Sprite:: SetImage (const Image & Img).
Using SFML 1.3, openSuse 11.0, freeglut 060903-133.1, mesa 7.0.3-35.1, ati radeon 9660
If the previous sprite size is less than the new image size, the new image cropped to fit the sprite size.
Example:
sf::Image image1;
image.LoadFromFile( "image1.png" );
sf::Image image2;
image.LoadFromFile( "image2.png" ); // Size of image1 is less than size of image2
sf::Sprite sprite( image1 );
...
...
sprite.SetImage( image2 ); // Sprite size not change
Thanks for the SFML library.