Convert ticks to 64-bit, added nanosecond precision to the API

Fixes https://github.com/libsdl-org/SDL/issues/5512
Fixes https://github.com/libsdl-org/SDL/issues/6731
This commit is contained in:
Sam Lantinga
2022-12-02 01:17:17 -08:00
parent 764b899a13
commit 8121bbd083
96 changed files with 938 additions and 1243 deletions

View File

@@ -203,7 +203,8 @@ int main(int argc, char *argv[])
int i, done;
SDL_DisplayMode mode;
SDL_Event event;
Uint32 then, now, frames;
Uint64 then, now;
Uint32 frames;
int status;
int dw, dh;
int swap_interval = 0;