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 a new issue