Merge pull request #106 from Dispersia/master

Change Power Preference to High Performance
This commit is contained in:
Carter Anderson 2020-08-11 15:28:18 -07:00 committed by GitHub
commit 81879b77cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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