mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +00:00
Added SDL_DelayPrecise()
SDL_DelayNS() now passes through to the high precision OS delay function, and SDL_DelayPrecise() tries to busy wait to get as close as possible to the desired wait time. Fixes https://github.com/libsdl-org/SDL/issues/11141
This commit is contained in:
parent
28a70a5b71
commit
c8f5f6d47a
8 changed files with 53 additions and 4 deletions
|
@ -1202,3 +1202,4 @@
|
|||
#define SDL_wcsstr SDL_wcsstr_REAL
|
||||
#define SDL_wcstol SDL_wcstol_REAL
|
||||
#define SDL_StepBackUTF8 SDL_StepBackUTF8_REAL
|
||||
#define SDL_DelayPrecise SDL_DelayPrecise_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue