draw with wgpu

This commit is contained in:
Chance 2024-12-01 22:58:52 -05:00 committed by BitSyndicate
parent ef45558272
commit 7ceaa5e177
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 443E4198D6BBA6DE
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();