mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Updated the code example of the documentation main page
This commit is contained in:
parent
a4f6e915a0
commit
67455e1a16
@ -46,7 +46,7 @@
|
|||||||
/// {
|
/// {
|
||||||
/// // Process events
|
/// // Process events
|
||||||
/// sf::Event event;
|
/// sf::Event event;
|
||||||
/// while (window.GetEvent(event))
|
/// while (window.PollEvent(event))
|
||||||
/// {
|
/// {
|
||||||
/// // Close window : exit
|
/// // Close window : exit
|
||||||
/// if (event.Type == sf::Event::Closed)
|
/// if (event.Type == sf::Event::Closed)
|
||||||
|
Loading…
Reference in New Issue
Block a user