From 4bb47c30171b1621fc3190542d3b29f4f2b01c46 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 25 Jul 2024 22:24:02 +0200 Subject: [PATCH] fixup! windows-rs 0.58 --- wgpu-hal/src/dx12/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }