Turn off vulkan because it's slow on windows

This commit is contained in:
Simon Gellis 2024-11-03 14:02:25 -05:00
parent a0e39796bf
commit 8bba7b9e1b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ struct AppWindow {
impl AppWindow { impl AppWindow {
fn setup_gpu(event_loop: &ActiveEventLoop, client: &EmulatorClient) -> Self { fn setup_gpu(event_loop: &ActiveEventLoop, client: &EmulatorClient) -> Self {
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor { let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: wgpu::Backends::PRIMARY, backends: wgpu::Backends::PRIMARY.difference(wgpu::Backends::VULKAN),
..Default::default() ..Default::default()
}); });