1
Window / sf::Window::GetFrameTime() returns 0
« on: April 21, 2011, 10:35:51 pm »
Hello folks!
Everytime I call sf::Window::GetFrameTime() it returns 0 which can't be true.
It was working a few days ago and I did not update/change any of the SFML files.
Even if I put sf::Sleep( 0.5 ) inside my applications main loop, it still returns 0.
Any idea how this could be caused?
I'm using Linux 64bit ( Ubuntu ) together with g++ and SFML 2.0.
Everytime I call sf::Window::GetFrameTime() it returns 0 which can't be true.
It was working a few days ago and I did not update/change any of the SFML files.
Even if I put sf::Sleep( 0.5 ) inside my applications main loop, it still returns 0.
Any idea how this could be caused?
I'm using Linux 64bit ( Ubuntu ) together with g++ and SFML 2.0.