mirror of
https://github.com/hannobraun/Fornjot
synced 2025-06-30 15:16:07 +00:00
Simplify
This commit is contained in:
parent
e3caa6837b
commit
decf1aaeef
@ -12,12 +12,13 @@ use crate::mesh::Mesh;
|
||||
pub fn render(_: &Mesh) -> anyhow::Result<()> {
|
||||
let event_loop = EventLoop::new()?;
|
||||
|
||||
let mut app = App { window: None };
|
||||
let mut app = App::default();
|
||||
event_loop.run_app(&mut app)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
struct App {
|
||||
window: Option<Arc<Window>>,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user