diff --git a/src/winit_renderer.rs b/src/winit_renderer.rs index 6f58c8e..9c9751b 100644 --- a/src/winit_renderer.rs +++ b/src/winit_renderer.rs @@ -155,9 +155,14 @@ impl WinitRenderer { wgpu::Backends::METAL } - #[cfg(not(target_os = "macos"))] + #[cfg(target_os = "linux")] { wgpu::Backends::VULKAN } + + #[cfg(target_os = "windows")] + { + wgpu::Backends::all() + } } }