1
0
Fork 0
forked from wry/wry

metal: rename next_flip_nsec to next_vblank_nsec

This commit is contained in:
Julian Orth 2024-09-27 08:10:23 +02:00
parent 1baa24adef
commit d45aaffdb3
2 changed files with 7 additions and 5 deletions

View file

@ -106,7 +106,7 @@ impl MetalConnector {
let use_frame_scheduling = !self.try_async_flip();
if use_frame_scheduling {
let next_present = self
.next_flip_nsec
.next_vblank_nsec
.get()
.saturating_sub(self.pre_commit_margin.get())
.saturating_sub(self.post_commit_margin.get());