mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 06:54:45 +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 = {}
|
local config = {}
|
||||||
|
|
||||||
for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do
|
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.webgpu_preferred_adapter = gpu
|
||||||
config.front_end = 'WebGpu'
|
config.front_end = 'WebGpu'
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user