Updated the main page of the API documentation

This commit is contained in:
Laurent Gomila 2011-08-06 23:15:48 +02:00
parent 3bba2fab98
commit b7184640d8

View File

@ -22,10 +22,10 @@
/// sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window"); /// sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
/// ///
/// // Load a sprite to display /// // Load a sprite to display
/// sf::Image image; /// sf::Texture texture;
/// if (!image.LoadFromFile("cute_image.jpg")) /// if (!texture.LoadFromFile("cute_image.jpg"))
/// return EXIT_FAILURE; /// return EXIT_FAILURE;
/// sf::Sprite sprite(image); /// sf::Sprite sprite(texture);
/// ///
/// // Create a graphical text to display /// // Create a graphical text to display
/// sf::Font font; /// sf::Font font;