35 ms·
Rendering can take a variable amount of time, so you instead want to wait on a hardware even like vsync instead of a timer.
by monocasa 4y ago
Rendering can take a variable amount of time, so you instead want to wait on a hardware even like vsync instead of a timer.
- ec109685 4y agoRight, that was what the sleep was supposed to cover. Sleep until the frame is needed.