While the SDL timer is fine enough, its just simply not as accurate as things could be
This uses windows own high resolution timer function (apparently (<1us) precision) in Place
unix uses its own for a few parts already so why should windows not use its own version
This potentially improves Frame Pacing with Vsync and or Capped Framerate, making things less stuttery and or jittery
aswell as making everything else more accurate which used those timing functions (ex Perfstats)
This should also lower the games CPU usage when it sleeps (ex when framerate is capped)
While the SDL timer is fine enough, its just simply not as accurate as things could be This uses windows own high resolution timer function (apparently (<1us) precision) in Place unix uses its own for a few parts already so why should windows not use its own version This potentially improves Frame Pacing with Vsync and or Capped Framerate, making things less stuttery and or jittery aswell as making everything else more accurate which used those timing functions (ex Perfstats) This should also lower the games CPU usage when it sleeps (ex when framerate is capped)