Skip to content

Commit 3a75912

Browse files
committed
ash runner: constant window updates, don't wait for new events
1 parent c00816c commit 3a75912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)