Update to wgpu 0.12

This commit is contained in:
Werner
2022-03-31 19:52:27 -03:00
parent b23bc27f55
commit 0a24096e90
7 changed files with 18 additions and 12 deletions

View File

@ -16,7 +16,7 @@ impl Renderer {
pub async fn New(window: Window) -> Result<Self> {
let size = window.inner_size();
let instance = wgpu::Instance::new(wgpu::Backends::all());
let instance = wgpu::Instance::new(wgpu::Backends::DX12);
let surface = unsafe { instance.create_surface(&window) };
let adapter = instance