drag & drop to load roblox map
This commit is contained in:
@ -53,7 +53,7 @@ pub trait Example: 'static + Sized {
|
||||
device: &wgpu::Device,
|
||||
queue: &wgpu::Queue,
|
||||
);
|
||||
fn update(&mut self, event: WindowEvent);
|
||||
fn update(&mut self, device: &wgpu::Device, event: WindowEvent);
|
||||
fn move_mouse(&mut self, delta: (f64,f64));
|
||||
fn render(
|
||||
&mut self,
|
||||
@ -346,7 +346,7 @@ fn start<E: Example>(
|
||||
println!("{:#?}", instance.generate_report());
|
||||
}
|
||||
_ => {
|
||||
example.update(event);
|
||||
example.update(&device,event);
|
||||
}
|
||||
},
|
||||
event::Event::DeviceEvent {
|
||||
|
Reference in New Issue
Block a user