Skip to content

Commit

Permalink
enable all gpu backends
Browse files Browse the repository at this point in the history
  • Loading branch information
Kl4rry committed Apr 16, 2024
1 parent 530c2f0 commit a8c5549
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/ferrite-gui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ impl GuiApp {
);
let size = window.inner_size();

let instance = wgpu::Instance::new(wgpu::InstanceDescriptor::default());
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: wgpu::Backends::all(),
..Default::default()
});
let surface = instance.create_surface(window.clone()).unwrap();
let adapter = instance
.request_adapter(&wgpu::RequestAdapterOptions {
Expand Down

0 comments on commit a8c5549

Please sign in to comment.