mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
Update webgpu_preferred_adapter.md
Added missing `Gpu` prefix in test condition.
This commit is contained in:
parent
d1c2257bd8
commit
35a1882280
@ -81,7 +81,7 @@ local wezterm = require 'wezterm'
|
||||
local config = {}
|
||||
|
||||
for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do
|
||||
if gpu.backend == 'Vulkan' and gpu.device_type == 'Integrated' then
|
||||
if gpu.backend == 'Vulkan' and gpu.device_type == 'IntegratedGpu' then
|
||||
config.webgpu_preferred_adapter = gpu
|
||||
config.front_end = 'WebGpu'
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user