1
0
Fork 0
forked from wry/wry

metal: delay rendering until shortly before page flip

This commit is contained in:
Julian Orth 2024-05-20 15:29:16 +02:00
parent 33d5c61c37
commit c2d31cb639
9 changed files with 113 additions and 22 deletions

View file

@ -78,7 +78,7 @@ impl IoUring {
st.has_timeout = timeout.is_some();
self.ring.schedule(st);
if let Some(timeout) = timeout {
self.schedule_timeout(timeout);
self.schedule_timeout_link(timeout);
}
}
Ok(pr.await? as _)