diff --git a/wgpu-hal/src/dx12/mod.rs b/wgpu-hal/src/dx12/mod.rs index 30b57252a97..23313321927 100644 --- a/wgpu-hal/src/dx12/mod.rs +++ b/wgpu-hal/src/dx12/mod.rs @@ -1079,7 +1079,7 @@ impl crate::Surface for Surface { let mut resources = Vec::with_capacity(swap_chain_buffer as usize); for i in 0..swap_chain_buffer { let resource = unsafe { swap_chain.GetBuffer(i) } - .into_device_result("Failed to get swpachain buffer")?; + .into_device_result("Failed to get swapchain buffer")?; resources.push(resource); }