Skip to content

Commit dd90779

Browse files
authored
cargo: Bump windows-rs to 0.47 (#162)
1 parent e54bb58 commit dd90779

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ imgui = { version = "0.10", features = ["tables-api"], optional = true }
3333
winapi = { version = "0.3.9", features = ["d3d12", "winerror", "impl-default", "impl-debug"], optional = true }
3434

3535
[target.'cfg(windows)'.dependencies.windows]
36-
version = "0.46"
36+
version = "0.47"
3737
features = [
3838
"Win32_Foundation",
3939
"Win32_Graphics",
@@ -56,7 +56,7 @@ env_logger = "0.10"
5656
winapi = { version = "0.3.9", features = ["d3d12", "d3d12sdklayers", "dxgi1_6", "winerror", "impl-default", "impl-debug", "winuser", "windowsx", "libloaderapi"] }
5757

5858
[target.'cfg(windows)'.dev-dependencies.windows]
59-
version = "0.46"
59+
version = "0.47"
6060
features = [
6161
"Win32_Foundation",
6262
"Win32_Graphics",

examples/d3d12-buffer-winrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ use windows::Win32::{
1515
D3D12_RESOURCE_DIMENSION_BUFFER, D3D12_RESOURCE_FLAG_NONE, D3D12_RESOURCE_STATE_COMMON,
1616
D3D12_TEXTURE_LAYOUT_ROW_MAJOR,
1717
},
18-
Dxgi::Common::{DXGI_FORMAT_UNKNOWN, DXGI_SAMPLE_DESC},
1918
Dxgi::{
19+
Common::{DXGI_FORMAT_UNKNOWN, DXGI_SAMPLE_DESC},
2020
CreateDXGIFactory2, IDXGIAdapter4, IDXGIFactory6, DXGI_ADAPTER_FLAG3_SOFTWARE,
2121
DXGI_ERROR_NOT_FOUND,
2222
},

0 commit comments

Comments
 (0)