summaryrefslogtreecommitdiff
path: root/ext/webgpu/bundle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/bundle.rs')
-rw-r--r--ext/webgpu/bundle.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/webgpu/bundle.rs b/ext/webgpu/bundle.rs
index 89ac6c0eb..57158271c 100644
--- a/ext/webgpu/bundle.rs
+++ b/ext/webgpu/bundle.rs
@@ -32,8 +32,7 @@ impl Resource for WebGpuRenderBundle {
}
fn close(self: Rc<Self>) {
- let instance = &self.0;
- gfx_select!(self.1 => instance.render_bundle_drop(self.1));
+ gfx_select!(self.1 => self.0.render_bundle_drop(self.1));
}
}
@@ -118,7 +117,7 @@ pub fn op_webgpu_render_bundle_encoder_finish(
&wgpu_core::command::RenderBundleDescriptor {
label: Some(label),
},
- ()
+ None
) => state, WebGpuRenderBundle)
}