draw with wgpu
This commit is contained in:
parent
f9863934d5
commit
cbc7b3a2e2
4 changed files with 129 additions and 16 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue