$ ./guess_the_languageGame Dev
Game Dev · medium · #268

Why can enabling VSync add input lag?

  1. The GPU renders at lower quality
  2. Input is polled only at 30 Hz
  3. Frames wait for the display refresh
  4. The CPU sleeps through input events
With VSync a finished frame is held until the next refresh, and queued frames add more delay, so input shows up later than without it.
Play Game Dev ▸