re-enable high performance gpu preference

This commit is contained in:
Carter Anderson 2020-08-12 18:53:56 -07:00
parent 85b6c7d45c
commit f49d07c0cc

View file

@ -21,7 +21,7 @@ impl WgpuRenderer {
let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY);
let adapter = instance
.request_adapter(&wgpu::RequestAdapterOptions {
power_preference: wgpu::PowerPreference::Default,
power_preference: wgpu::PowerPreference::HighPerformance,
compatible_surface: None,
})
.await