Updated the comments of Window::SetFramerateLimit
This commit is contained in:
parent
e7256e3324
commit
73b037b244
@ -382,6 +382,11 @@ public :
|
||||
/// If a limit is set, the window will use a small delay after
|
||||
/// each call to Display() to ensure that the current frame
|
||||
/// lasted long enough to match the framerate limit.
|
||||
/// SFML will try to match the given limit as much as it can,
|
||||
/// but since it internally uses sf::Sleep, whose precision
|
||||
/// depends on the underlying OS, the results may be a little
|
||||
/// unprecise as well (for example, you can get 65 FPS when
|
||||
/// requesting 60).
|
||||
///
|
||||
/// \param limit Framerate limit, in frames per seconds (use 0 to disable limit)
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user