What's the most accurate way to limit FPS on Windows?

后端 未结 0 1161
孤城傲影
孤城傲影 2021-01-24 03:20

So I\'m using a call like:

Sleep(16 - millisecondsElapsed);

at the end of every frame draw in my program loop to limit it to 60fps. But if you do the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题