Improve GPU selection on Linux (#50274)
Follow-up to https://github.com/zed-industries/zed/pull/50270 Release Notes: - N/A
This commit is contained in:
1 parent
06960d4ff8
commit
5954074aee
1 file changed
+2
-2
@@ -75,7 +75,7 @@ impl WgpuContext {
|
||||
|
||||
let adapter = instance
|
||||
.request_adapter(&wgpu::RequestAdapterOptions {
|
||||
power_preference: wgpu::PowerPreference::None,
|
||||
power_preference: wgpu::PowerPreference::HighPerformance,
|
||||
compatible_surface: None,
|
||||
force_fallback_adapter: false,
|
||||
})
|
||||
@@ -214,7 +214,7 @@ impl WgpuContext {
|
||||
|
||||
instance
|
||||
.request_adapter(&wgpu::RequestAdapterOptions {
|
||||
power_preference: wgpu::PowerPreference::None,
|
||||
power_preference: wgpu::PowerPreference::HighPerformance,
|
||||
compatible_surface,
|
||||
force_fallback_adapter: false,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user