Merged changes from trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1007 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
commit
771d9d7939
@ -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);
|
||||
|
@ -36,6 +36,7 @@ namespace sf
|
||||
////////////////////////////////////////////////////////////
|
||||
void Sleep(float Duration)
|
||||
{
|
||||
if (Duration >= 0)
|
||||
priv::Platform::Sleep(Duration);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user