Skip to content

Commit 85ce837

Browse files
committed
ash runner: constant window updates, don't wait for new events
1 parent 7dd1dc2 commit 85ce837

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
@@ -236,7 +236,7 @@ pub fn main() {
236236
WindowEvent::CloseRequested => event_loop_window_target.exit(),
237237
_ => {}
238238
},
239-
_ => event_loop_window_target.set_control_flow(ControlFlow::Wait),
239+
_ => event_loop_window_target.set_control_flow(ControlFlow::Poll),
240240
})
241241
.unwrap();
242242
}

0 commit comments

Comments
 (0)