Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Strange behavior using sf::RenderWindow::SetFramerateLimit()  (Read 8247 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Strange behavior using sf::RenderWindow::SetFramerateLimit()
« Reply #15 on: November 07, 2009, 01:46:50 pm »
Quote
Hmm, I can't see any pattern here. It just gets stuck at 100 FPS. If I don't put any SetFramerateLimit my FPS goes to 250 more or less.

This function has a very low resolution, so it's not very surprising.

Quote
Think that Ogre's implementation works fine?

That's what people say, at least. They also say that it's not a perfect workaround, but it seems to be enough. This workaround was implemented a long time ago and not modified since then, so I guess it's robust enough :)
Laurent Gomila - SFML developer

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
Strange behavior using sf::RenderWindow::SetFramerateLimit()
« Reply #16 on: November 07, 2009, 03:09:12 pm »
Great then. You are doing a pretty nice work.

Do you have some kind of blog or site with personal info? I would like to know who you are :-)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Strange behavior using sf::RenderWindow::SetFramerateLimit()
« Reply #17 on: November 07, 2009, 03:32:08 pm »
Quote
Do you have some kind of blog or site with personal info? I would like to know who you are

No. I you Google me you'll only find a few old, crappy websites ;)
Laurent Gomila - SFML developer