1
0
Fork 0
forked from wry/wry

metal: emulate vblank events on the nvidia driver

This commit is contained in:
Julian Orth 2024-10-03 08:54:15 +02:00
parent d2b6831ce4
commit ed65fa07a4
7 changed files with 41 additions and 4 deletions

View file

@ -521,6 +521,7 @@ fn create_dummy_output(state: &Rc<State>) {
drm_dev: None,
async_event: Default::default(),
damaged: Cell::new(false),
needs_vblank_emulation: Cell::new(false),
});
let schedule = Rc::new(OutputSchedule::new(
&state.ring,