Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
monocasa
4y ago
0 comments
Save
Share
Rendering can take a variable amount of time, so you instead want to wait on a hardware even like vsync instead of a timer.
0 comments
1 comments · 1 top-level
top
newest
oldest
ec109685
4y ago
Right, that was what the sleep was supposed to cover. Sleep until the frame is needed.
j
/
k
navigate · click thread line to collapse