diff options
Diffstat (limited to 'third_party/rust/wgpu-hal/src/metal/surface.rs')
-rw-r--r-- | third_party/rust/wgpu-hal/src/metal/surface.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/rust/wgpu-hal/src/metal/surface.rs b/third_party/rust/wgpu-hal/src/metal/surface.rs index a97eff0aae..889e319493 100644 --- a/third_party/rust/wgpu-hal/src/metal/surface.rs +++ b/third_party/rust/wgpu-hal/src/metal/surface.rs @@ -169,7 +169,9 @@ impl super::Surface { } } -impl crate::Surface<super::Api> for super::Surface { +impl crate::Surface for super::Surface { + type A = super::Api; + unsafe fn configure( &self, device: &super::Device, |