Added updating

This commit is contained in:
Verox001 2025-05-04 01:22:33 +02:00
parent 354cb8718d
commit 78d0f59cc1

View File

@ -46,6 +46,7 @@ impl<'a> ApplicationHandler for StateApplication<'a>{
self.state.as_mut().unwrap().resize(physical_size);
}
WindowEvent::RedrawRequested => {
self.state.as_mut().unwrap().update();
self.state.as_mut().unwrap().render().unwrap();
}
WindowEvent::KeyboardInput { .. } => {