16
General / 50% CPU usage... thoughts on improvement
« on: April 02, 2010, 10:58:25 am »
SFML has built-in frame rate limiting. Look at:
sf::RenderWindow::EnableVerticalSync
sf::RenderWindow::SetFrameRateLimit
Edit: Just saw that you did that. Test it with a minimal game loop from the tutorials, though.
sf::RenderWindow::EnableVerticalSync
sf::RenderWindow::SetFrameRateLimit
Edit: Just saw that you did that. Test it with a minimal game loop from the tutorials, though.