mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Removed the nanosecond versions of event and thread primitive waits from the public API
It's not clear applications need this level of precision yet, so let's leave these private for now.
This commit is contained in:
@@ -35,7 +35,4 @@ General:
|
||||
* SDL_GetTicks() now returns a 64-bit value and the tick values should be directly compared instead of using the SDL_TICKS_PASSED macro
|
||||
* Added SDL_GetTicksNS() to return the number of nanoseconds since the SDL library initialized
|
||||
* Added SDL_DelayNS() to specify a delay in nanoseconds, to the highest precision the system will support
|
||||
* Added SDL_WaitEventTimeoutNS() to wait for events with the highest possible precision
|
||||
* Added SDL_SemWaitTimeoutNS() to wait for a semaphore with the highest possible precision
|
||||
* Added SDL_CondWaitTimeoutNS() to wait for a condition variable the highest possible precision
|
||||
* The timestamp member of the SDL_Event structure is now in nanoseconds, filled in with SDL_GetTicksNS()
|
||||
|
||||
Reference in New Issue
Block a user