mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-20 02:08:13 +00:00
SDL_DelayNS() will attempt to sleep exactly the requested amount of time
This provides a highly accurate sleep function for your application, although you are still subject to being switched out occasionally. Fixes https://github.com/libsdl-org/SDL/issues/10210
This commit is contained in:
@@ -34,4 +34,6 @@ extern void SDL_QuitTicks(void);
|
||||
extern int SDL_InitTimers(void);
|
||||
extern void SDL_QuitTimers(void);
|
||||
|
||||
extern void SDL_SYS_DelayNS(Uint64 ns);
|
||||
|
||||
#endif /* SDL_timer_c_h_ */
|
||||
|
Reference in New Issue
Block a user