metal: rename next_flip_nsec to next_vblank_nsec
This commit is contained in:
parent
1baa24adef
commit
d45aaffdb3
2 changed files with 7 additions and 5 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue