mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-26 18:16:11 +00:00
Add winit
event loop
This commit is contained in:
parent
ea54ec9ec4
commit
cd041adc38
@ -1,3 +1,9 @@
|
||||
use winit::event_loop::EventLoop;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let event_loop = EventLoop::new();
|
||||
|
||||
event_loop.run(move |event, _, _| {
|
||||
println!("{:?}", event);
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user