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

Author Topic: When Using SetFramerateLimit(60) it's actually 30-32?  (Read 8327 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
When Using SetFramerateLimit(60) it's actually 30-32?
« Reply #15 on: September 18, 2009, 01:00:13 pm »
You're right, QPC is not known to be very stable, I should have checked that first.

It would be great if someone having this problem could comment the contents of the Platform::GetSystemTime function in src\SFML\System\Win32\Platform.cpp, just keeping this line
Code: [Select]
return GetTickCount() * 0.001;
(I know it's not timeGetTime, but this will be enough for tests)
Then recompile SFML and test again :)
Laurent Gomila - SFML developer

ptrxyz

  • Newbie
  • *
  • Posts: 32
    • View Profile
When Using SetFramerateLimit(60) it's actually 30-32?
« Reply #16 on: September 18, 2009, 01:05:06 pm »
I will do it this weekend (if not someone already did that then....=))

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
When Using SetFramerateLimit(60) it's actually 30-32?
« Reply #17 on: September 28, 2009, 02:10:57 pm »
Any news?
Laurent Gomila - SFML developer