pub fn wait_frame()
Wait for the next frame (the same as main_loop::wait_frame in a threaded loop).
main_loop::wait_frame