mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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
|
/// one provides more accurate sleeping time thanks to some
|
||||||
/// platform-specific tweaks.
|
/// 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
|
/// \param duration Time to sleep
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user