From f43b706e17fa36cf3af2a6be3cb7cc82303dd5fc Mon Sep 17 00:00:00 2001 From: Xiaopeng Li Date: Fri, 24 Mar 2023 21:30:53 +0800 Subject: [PATCH] Fix imports (#3618) --- wgpu-hal/src/dx12/suballocation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-hal/src/dx12/suballocation.rs b/wgpu-hal/src/dx12/suballocation.rs index 397b4b72f..01ca997f2 100644 --- a/wgpu-hal/src/dx12/suballocation.rs +++ b/wgpu-hal/src/dx12/suballocation.rs @@ -210,7 +210,7 @@ mod allocation { use std::ptr; use winapi::{ um::{ - d3d12_ty::{self, ID3D12Resource}, + d3d12::{self as d3d12_ty, ID3D12Resource}, winnt::HRESULT, }, Interface,