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:
Poly 2021-02-03 23:50:03 +01:00
parent 09a5348740
commit b0d1be69d6
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ impl Compositor {
let adapter = instance
.request_adapter(&wgpu::RequestAdapterOptions {
power_preference: if settings.antialiasing.is_none() {
wgpu::PowerPreference::default()
wgpu::PowerPreference::LowPower
} else {
wgpu::PowerPreference::HighPerformance
},