Skip to content

Commit

Permalink
Fix Linux compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp committed Nov 8, 2023
1 parent 5702f06 commit d9a10d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alvr/dashboard/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ fn main() {
{
let has_nvidia = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: wgpu::Backends::VULKAN,
flags: wgpu::InstanceFlags::empty(),
dx12_shader_compiler: Default::default(),
gles_minor_version: Default::default(),
})
.enumerate_adapters(wgpu::Backends::VULKAN)
.any(|adapter| adapter.get_info().vendor == 0x10de);
Expand Down

0 comments on commit d9a10d1

Please sign in to comment.