mirror of https://github.com/wayvr-org/wayvr.git
parent
6b22e4aef1
commit
6f6f9af983
|
|
@ -247,7 +247,6 @@ pub fn openvr_run(args: &Args) -> Result<(), BackendError> {
|
|||
|
||||
let universe = playspace.get_universe();
|
||||
|
||||
while app.executor.try_tick() {}
|
||||
app.input_state.pre_update();
|
||||
input_source.update(
|
||||
universe.clone(),
|
||||
|
|
|
|||
|
|
@ -267,7 +267,6 @@ pub fn openxr_run(args: &Args) -> Result<(), BackendError> {
|
|||
continue 'main_loop;
|
||||
}
|
||||
|
||||
while app.executor.try_tick() {}
|
||||
app.input_state.pre_update();
|
||||
input_source.update(&xr_state, &mut app)?;
|
||||
app.input_state.post_update(&app.session);
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ impl AppState {
|
|||
}
|
||||
|
||||
pub fn tick(&mut self) {
|
||||
while self.executor.try_tick() {}
|
||||
self.dbus.tick();
|
||||
|
||||
for toast in self.notifications.drain_pending(&self.session) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue