Fixed documentation of sf::Image

This commit is contained in:
Laurent Gomila 2013-05-10 09:48:55 +02:00
parent ae11207cdf
commit b92dc572e3

View File

@ -298,8 +298,7 @@ private :
/// ///
/// // Create a 20x20 image filled with black color /// // Create a 20x20 image filled with black color
/// sf::Image image; /// sf::Image image;
/// if (!image.create(20, 20, sf::Color::Black)) /// image.create(20, 20, sf::Color::Black);
/// return -1;
/// ///
/// // Copy image1 on image2 at position (10, 10) /// // Copy image1 on image2 at position (10, 10)
/// image.copy(background, 10, 10); /// image.copy(background, 10, 10);