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

Author Topic: SFML 2, latest GIT, c++ SetFrameLimit not working  (Read 1286 times)

0 Members and 1 Guest are viewing this topic.

Dinocool

  • Newbie
  • *
  • Posts: 24
    • View Profile
SFML 2, latest GIT, c++ SetFrameLimit not working
« on: January 31, 2012, 03:53:08 am »
SetFrameLimit is not providing a stable fps, for example

SetFrameLimit(60) will provide an fps ranging from 120 to 57

Expected variance of 57-62 instead of an 57-120, fps will spike to 120 infrequently but consistently hits 70-80 fps

Running Windows 7 (x64) 32 bit program, latest Git dump.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6226
  • Thor Developer
    • View Profile
    • Bromeon
SFML 2, latest GIT, c++ SetFrameLimit not working
« Reply #1 on: January 31, 2012, 06:59:23 am »
You mean SetFramerateLimit()? There is already a thread:
http://www.sfml-dev.org/forum/viewtopic.php?t=6916

Edit: I see you even answered there, why did you create a new thread?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: first SFML book