Function sdl2_sys::SDL_Delay

source ·
pub unsafe extern "C" fn SDL_Delay(ms: Uint32)
Expand description

Wait a specified number of milliseconds before returning.

This function waits a specified number of milliseconds before returning. It waits at least the specified time, but possibly longer due to OS scheduling.

\param ms the number of milliseconds to delay

\since This function is available since SDL 2.0.0.