mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
wgpu: use adapter limits to avoid panic on window resize
This commit is contained in:
parent
7ae615b01d
commit
6938701cd3
@ -327,7 +327,8 @@ impl WebGpuState {
|
||||
wgpu::Limits::downlevel_webgl2_defaults()
|
||||
} else {
|
||||
wgpu::Limits::downlevel_defaults()
|
||||
},
|
||||
}
|
||||
.using_resolution(adapter.limits()),
|
||||
label: None,
|
||||
},
|
||||
None, // Trace path
|
||||
|
Loading…
Reference in New Issue
Block a user