Updated the code example of the documentation main page
This commit is contained in:
parent
a4f6e915a0
commit
67455e1a16
|
@ -46,7 +46,7 @@
|
|||
/// {
|
||||
/// // Process events
|
||||
/// sf::Event event;
|
||||
/// while (window.GetEvent(event))
|
||||
/// while (window.PollEvent(event))
|
||||
/// {
|
||||
/// // Close window : exit
|
||||
/// if (event.Type == sf::Event::Closed)
|
||||
|
|
Loading…
Reference in a new issue