enable all backends

This commit is contained in:
griffi-gh 2024-05-06 17:21:18 +02:00
parent b0c47d8e82
commit dcfb9865eb

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