Added a test to ensure the parameter of sf::Sleep is not negative (can have bad consequences)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1006 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
f044357031
commit
08fea61154
2 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace sf
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Make the current thread sleep for a given time
|
||||
///
|
||||
/// \param Duration : Time to sleep, in seconds
|
||||
/// \param Duration : Time to sleep, in seconds (must be >= 0)
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void SFML_API Sleep(float Duration);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue