diff --git a/games/veloren/files/patch-wgpu b/games/veloren/files/patch-wgpu index 6351ad202691..487f63fc2be0 100644 --- a/games/veloren/files/patch-wgpu +++ b/games/veloren/files/patch-wgpu @@ -1,32 +1,32 @@ -Reformat for CARGO_GIT_SUBDIR +https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256581 --- ../wgpu-rs-7486bdad64bb5d17b709ecccb41e063469efff88/Cargo.toml.orig 2021-05-14 04:23:09 UTC +++ ../wgpu-rs-7486bdad64bb5d17b709ecccb41e063469efff88/Cargo.toml @@ -23,25 +23,9 @@ webgl = ["wgc"] # Enable SPIRV-Cross cross = ["wgc/cross"] -[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc] -package = "wgpu-core" -git = "https://github.com/gfx-rs/wgpu" -rev = "53eab747a32414232be45d47cae8a43a369395d0" -features = ["raw-window-handle"] - -[target.'cfg(target_arch = "wasm32")'.dependencies.wgc] -package = "wgpu-core" -git = "https://github.com/gfx-rs/wgpu" -rev = "53eab747a32414232be45d47cae8a43a369395d0" -features = ["raw-window-handle"] -optional = true - -[dependencies.wgt] -package = "wgpu-types" -git = "https://github.com/gfx-rs/wgpu" -rev = "53eab747a32414232be45d47cae8a43a369395d0" - [dependencies] +wgc = { package = "wgpu-core", git = "https://github.com/gfx-rs/wgpu", rev = "53eab747a32414232be45d47cae8a43a369395d0", features = ["raw-window-handle"], optional = true } +wgt = { package = "wgpu-types", git = "https://github.com/gfx-rs/wgpu", rev = "53eab747a32414232be45d47cae8a43a369395d0" } arrayvec = "0.5" log = "0.4" parking_lot = "0.11"