From b7184640d8b99768d920186aa2804c0898f78aa3 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Sat, 6 Aug 2011 23:15:48 +0200 Subject: [PATCH] Updated the main page of the API documentation --- doc/mainpage.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/mainpage.hpp b/doc/mainpage.hpp index eeb0b0e40..51172d52b 100644 --- a/doc/mainpage.hpp +++ b/doc/mainpage.hpp @@ -22,10 +22,10 @@ /// sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window"); /// /// // Load a sprite to display -/// sf::Image image; -/// if (!image.LoadFromFile("cute_image.jpg")) +/// sf::Texture texture; +/// if (!texture.LoadFromFile("cute_image.jpg")) /// return EXIT_FAILURE; -/// sf::Sprite sprite(image); +/// sf::Sprite sprite(texture); /// /// // Create a graphical text to display /// sf::Font font;