[rs] Bump wgpu-core and update texture_view_drop call

This commit is contained in:
Matt Keeter
2021-01-23 12:10:52 -05:00
parent fe0644b040
commit 3ca0b0cf9c
2 changed files with 4 additions and 4 deletions

View File

@@ -26,20 +26,20 @@ webgl = ["wgc"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "7c9e239a2400fab89fcf905ac42be0360224a522"
rev = "b23ece55e7abb8d449fcae09398b2402b0efee99"
features = ["raw-window-handle"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "7c9e239a2400fab89fcf905ac42be0360224a522"
rev = "b23ece55e7abb8d449fcae09398b2402b0efee99"
features = ["raw-window-handle"]
optional = true
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "7c9e239a2400fab89fcf905ac42be0360224a522"
rev = "b23ece55e7abb8d449fcae09398b2402b0efee99"
[dependencies]
arrayvec = "0.5"

View File

@@ -1458,7 +1458,7 @@ impl crate::Context for Context {
}
fn texture_view_drop(&self, texture_view: &Self::TextureViewId) {
let global = &self.0;
match wgc::gfx_select!(*texture_view => global.texture_view_drop(*texture_view)) {
match wgc::gfx_select!(*texture_view => global.texture_view_drop(*texture_view, false)) {
Ok(()) => (),
Err(err) => self.handle_error_fatal(err, "TextureView::drop"),
}