mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix failed request for adapter when not available (#31002)
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
parent
dd0149d953
commit
fddc4a430f
6 changed files with 97 additions and 90 deletions
|
@ -258,7 +258,7 @@ pub enum ScriptMsg {
|
|||
MediaSessionEvent(PipelineId, MediaSessionEvent),
|
||||
/// Create a WebGPU Adapter instance
|
||||
RequestAdapter(
|
||||
IpcSender<WebGPUResponseResult>,
|
||||
IpcSender<Option<WebGPUResponseResult>>,
|
||||
wgpu::instance::RequestAdapterOptions,
|
||||
SmallVec<[wgpu::id::AdapterId; 4]>,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue