Renamed Window::GetEvent to PollEvent

This commit is contained in:
Laurent Gomila 2011-04-11 18:20:21 +02:00
parent bacb698f1a
commit df6874273a
20 changed files with 32 additions and 32 deletions

View file

@ -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)