mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
re-enable high performance gpu preference
This commit is contained in:
parent
85b6c7d45c
commit
f49d07c0cc
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