switch to noise lib that works on arm neon (apple)
This commit is contained in:
@@ -43,20 +43,6 @@ pub struct UpdateGridTransform {
|
||||
}
|
||||
|
||||
impl<'a> Renderer<'a> {
|
||||
pub fn spawn(window: Arc<Window>) -> Renderer<'a> {
|
||||
let size = window.inner_size();
|
||||
|
||||
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
|
||||
backends: wgpu::Backends::PRIMARY,
|
||||
..Default::default()
|
||||
});
|
||||
|
||||
let surface = instance
|
||||
.create_surface(window)
|
||||
.expect("Could not create window surface!");
|
||||
Self::new(instance, surface, size)
|
||||
}
|
||||
|
||||
pub fn handle_commands(&mut self, commands: Vec<RenderCommand>) {
|
||||
let mut new_camera = false;
|
||||
for cmd in commands {
|
||||
|
||||
Reference in New Issue
Block a user