Change Power Preference to High Performance

This commit is contained in:
Aaron Housh 2020-08-10 21:05:54 -07:00
parent 5e76a018c9
commit c42dad5f7c

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