From dcfb9865eb8993a04be5c714217349fb02e2da77 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 6 May 2024 17:21:18 +0200 Subject: [PATCH] enable all backends --- kubi/src/rendering/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubi/src/rendering/renderer.rs b/kubi/src/rendering/renderer.rs index 8b4bf91..5028b70 100644 --- a/kubi/src/rendering/renderer.rs +++ b/kubi/src/rendering/renderer.rs @@ -75,7 +75,7 @@ impl Renderer { let size = window.inner_size(); let instance = wgpu::Instance::new(wgpu::InstanceDescriptor { - backends: wgpu::Backends::BROWSER_WEBGPU | wgpu::Backends::VULKAN | wgpu::Backends::GL, + backends: wgpu::Backends::all(), //Disable validation layer flags: wgpu::InstanceFlags::default() & !wgpu::InstanceFlags::VALIDATION, //we're using vulkan on windows