mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 17:28:28 +00:00
Sync wiki -> header
This commit is contained in:
parent
98c9836287
commit
b42ae3dbfe
6 changed files with 103 additions and 117 deletions
|
@ -61,9 +61,9 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void);
|
|||
* Get the number of milliseconds since SDL library initialization.
|
||||
*
|
||||
* Note that you should not use the SDL_TICKS_PASSED macro with values
|
||||
* returned by this function, as that macro does clever math to compensate
|
||||
* for the 32-bit overflow every ~49 days that SDL_GetTicks() suffers from.
|
||||
* 64-bit values from this function can be safely compared directly.
|
||||
* returned by this function, as that macro does clever math to compensate for
|
||||
* the 32-bit overflow every ~49 days that SDL_GetTicks() suffers from. 64-bit
|
||||
* values from this function can be safely compared directly.
|
||||
*
|
||||
* For example, if you want to wait 100 ms, you could do this:
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue