add d3d12 support and fix globe example

This commit is contained in:
Schmarni
2024-06-22 18:11:11 +02:00
parent c1528d612f
commit 1e0b39c274
4 changed files with 8 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ wgpu-hal = "0.21"
[target.'cfg(windows)'.dependencies]
openxr = { workspace = true, features = [ "linked", "static", "mint" ] }
winapi = { version = "0.3.9", optional = true }
d3d12 = { version = "0.19", features = ["libloading"], optional = true }
d3d12 = { version = "0.20", features = ["libloading"], optional = true }
[target.'cfg(all(target_family = "unix", not(target_arch = "wasm32")) )'.dependencies]
openxr = { workspace = true, features = [ "mint" ] }