Skip to content

Commit aa62233

Browse files
committed
ash runner: constant window updates, don't wait for new events
1 parent 807ea2a commit aa62233

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/runners/ash/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ pub fn main() {
225225
WindowEvent::CloseRequested => event_loop_window_target.exit(),
226226
_ => {}
227227
},
228-
_ => event_loop_window_target.set_control_flow(ControlFlow::Wait),
228+
_ => event_loop_window_target.set_control_flow(ControlFlow::Poll),
229229
})
230230
.unwrap();
231231
}

0 commit comments

Comments
 (0)