draw with wgpu

This commit is contained in:
Chance 2024-12-01 22:58:52 -05:00 committed by BitSyndicate
parent f9863934d5
commit cbc7b3a2e2
4 changed files with 129 additions and 16 deletions

View file

@ -8,7 +8,7 @@ use winit::event_loop::{ControlFlow, EventLoop};
pub fn init_render() -> Result<()> {
pub fn init_renderer() -> Result<()> {
let event_loop = EventLoop::new().unwrap();
event_loop.set_control_flow(ControlFlow::Poll);
let mut app = App::default();