Document precision limitation of sf::sleep
This commit is contained in:
parent
1c5c8ad700
commit
92dbac623b
@ -44,6 +44,11 @@ class Time;
|
||||
/// one provides more accurate sleeping time thanks to some
|
||||
/// platform-specific tweaks.
|
||||
///
|
||||
/// sf::sleep only guarantees millisecond precision. Sleeping
|
||||
/// for a duration less than 1 millisecond is prone to result
|
||||
/// in the actual sleep duration being less than what is
|
||||
/// requested.
|
||||
///
|
||||
/// \param duration Time to sleep
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user