1
1
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:
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 = {}
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