Change Power Preference to High Performance
This commit is contained in:
parent
5e76a018c9
commit
c42dad5f7c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user