enable all backends

This commit is contained in:
griffi-gh 2024-05-06 17:21:18 +02:00
parent 85c64c9064
commit 99cc2d1e72

View file

@ -75,7 +75,7 @@ impl Renderer {
let size = window.inner_size(); let size = window.inner_size();
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor { 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 //Disable validation layer
flags: wgpu::InstanceFlags::default() & !wgpu::InstanceFlags::VALIDATION, flags: wgpu::InstanceFlags::default() & !wgpu::InstanceFlags::VALIDATION,
//we're using vulkan on windows //we're using vulkan on windows