Change PowerPreference from default() to LowPower
There is no reason to hide the fact that this is always in `LowPower` mode
This commit is contained in:
parent
09a5348740
commit
b0d1be69d6
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ impl Compositor {
|
||||||
let adapter = instance
|
let adapter = instance
|
||||||
.request_adapter(&wgpu::RequestAdapterOptions {
|
.request_adapter(&wgpu::RequestAdapterOptions {
|
||||||
power_preference: if settings.antialiasing.is_none() {
|
power_preference: if settings.antialiasing.is_none() {
|
||||||
wgpu::PowerPreference::default()
|
wgpu::PowerPreference::LowPower
|
||||||
} else {
|
} else {
|
||||||
wgpu::PowerPreference::HighPerformance
|
wgpu::PowerPreference::HighPerformance
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue