SFML community forums
Help => General => Topic started by: Zamadatix on April 18, 2011, 12:56:19 am
-
After a winter break I have come back to coding and updated SFML2 to the latest svn to find that some things have changed while I was gone. Can anyone tell me how to fix this error?
49 while (Window.IsOpened())
50 {
51 while (Window.GetEvent(Event))
52 {
C:\Users\Daniel\BMP\main.cpp|51|error: 'class sf::RenderWindow' has no member named 'GetEvent'|
-
The GetEvent function has been renamed to PollEvent. This is a newer feature and the documentation on the website hasn't been updated in awhile. Read the include files or generate your own documentation with Doxygen for up-to-date information.
-
Thank you :)