You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of windows::Win32::Graphics::Direct3D12::D3D12_COMMAND_QUEUE_DESC::Priority should be windows::Win32::Graphics::Direct3D12::D3D12_COMMAND_QUEUE_PRIORITY instead of i32.
use windows::Win32::Graphics::Direct3D12::*;fnmain(){letCommandQueueDesc = D3D12_COMMAND_QUEUE_DESC{Type:D3D12_COMMAND_LIST_TYPE_NONE,Priority:D3D12_COMMAND_QUEUE_PRIORITY_NORMAL,Flags:D3D12_COMMAND_QUEUE_FLAG_NONE,NodeMask:0};}
Crate manifest
# ...
[dependencies.windows]
version = "0.48.0"features = [
"Win32_Graphics_Direct3D12"
]
Expected behavior
No error
Actual behavior
mismatched types
expected i32, found D3D12_COMMAND_QUEUE_PRIORITY
Additional comments
No response
The text was updated successfully, but these errors were encountered:
Which crate is this about?
windows
Crate version
0.48.0
Summary
The type of
windows::Win32::Graphics::Direct3D12::D3D12_COMMAND_QUEUE_DESC::Priority
should bewindows::Win32::Graphics::Direct3D12::D3D12_COMMAND_QUEUE_PRIORITY
instead ofi32
.Toolchain version/configuration
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\sydcgbw.rustup
stable-x86_64-pc-windows-msvc (default)
rustc 1.69.0 (84c898d65 2023-04-16)
Reproducible example
Crate manifest
Expected behavior
No error
Actual behavior
mismatched types
expected
i32
, foundD3D12_COMMAND_QUEUE_PRIORITY
Additional comments
No response
The text was updated successfully, but these errors were encountered: