Renamed Window::GetEvent to PollEvent
This commit is contained in:
parent
bacb698f1a
commit
df6874273a
20 changed files with 32 additions and 32 deletions
|
@ -81,7 +81,7 @@ int main()
|
|||
{
|
||||
// Handle events
|
||||
sf::Event event;
|
||||
while (window.GetEvent(event))
|
||||
while (window.PollEvent(event))
|
||||
{
|
||||
// Window closed or escape key pressed : exit
|
||||
if ((event.Type == sf::Event::Closed) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue