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

@ -173,7 +173,7 @@ test.Create(800, 600);
{
// Process events
sf::Event event;
while (window.GetEvent(event))
while (window.PollEvent(event))
{
// Close window : exit
if (event.Type == sf::Event::Closed)
@ -261,7 +261,7 @@ void DisplayError()
{
// Process events
sf::Event event;
while (window.GetEvent(event))
while (window.PollEvent(event))
{
// Close window : exit
if (event.Type == sf::Event::Closed)