Skip to content

Commit

Permalink
pre present notify
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Sep 13, 2023
1 parent 143e81b commit 49ca91c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/window_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ impl WindowHandle {
};
cx.paint_state.renderer.begin();
self.view.paint_main(&mut cx);
if let Some(window) = self.window.as_ref() {
window.pre_present_notify();
}
cx.paint_state.renderer.finish();
self.process_update();
}
Expand Down

0 comments on commit 49ca91c

Please sign in to comment.