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:
John Tur authored and GitHub committed 2026-02-27 07:59:06 +00:00
1 parent 06960d4ff8
commit 5954074aee
1 file changed
+2 -2
+2 -2
View File
@@ -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,
})