mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Updated the main page of the API documentation
This commit is contained in:
parent
3bba2fab98
commit
b7184640d8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user