Skip to content

Commit

Permalink
compatible without impl-default feature
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed Jul 10, 2024
1 parent 30ce3e0 commit 053a255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl super::Adapter {
wgt::DeviceType::DiscreteGpu
},
driver: {
let mut i = winnt::LARGE_INTEGER::default();
let mut i: winnt::LARGE_INTEGER = unsafe { mem::zeroed() };
if 0 == unsafe {
adapter.CheckInterfaceSupport(&dxgi::IDXGIDevice::uuidof(), &mut i)
} {
Expand Down

0 comments on commit 053a255

Please sign in to comment.