mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Change Power Preference to High Performance
This commit is contained in:
parent
5e76a018c9
commit
c42dad5f7c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue