mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Add StartCause::Init support, timer example
This commit is contained in:
@@ -172,6 +172,7 @@ impl EventLoop {
|
||||
|
||||
let mut msg = mem::uninitialized();
|
||||
|
||||
event_handler(Event::NewEvents(StartCause::Init), &event_loop, &mut control_flow);
|
||||
'main: loop {
|
||||
macro_rules! call_event_handler {
|
||||
($event:expr) => {{
|
||||
|
||||
Reference in New Issue
Block a user