Hi Peeps FYI:
I call SDL_Init(SDL_INIT_TIMER)
GetTicks64() returns 0.
I call SDL_Init(SDL_INIT_EVERYTHING)
GetTicks64() returns valid value.
Checked the source and the flag is there. Hmm Anyone else?
Zero is a valid return value from SDL_GetTicks64()
, it just means it’s been 0 ms since the init call. SDL_Init(SDL_INIT_EVERYTHING)
takes a while, so you’ll generally see a non-zero value after calling that.
OK; now it make sense. I will have to test more.