mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 05:08:21 -06:00
enable all backends
This commit is contained in:
parent
b0c47d8e82
commit
dcfb9865eb
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue