sotrh/learn-wgpu

Incorrect parameter for creation of WGPU Instance

baad-c0de opened this issue · 2 comments

You pass in wgpu::Backends::all() will creating your instance. However, this creates Vulkan, DirectX12 and OpenGL backends on Windows and causes a crash on shutdown on the lastest WGPU.

I think this should be wgpu::Backends::PRIMARY.

This fixed my crash any way.

I'll check it out.

Fixed