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