1
1
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:
Doctor Who 2023-03-31 06:22:55 +02:00 committed by Wez Furlong
parent d1c2257bd8
commit 35a1882280

View File

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