Skip to content

Commit

Permalink
Fixup web.rs implementation of device_lose.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwerth committed Sep 21, 2023
1 parent 5f0ec42 commit a4a5403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/src/backend/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ impl crate::context::Context for Context {
// Device is dropped automatically
}

fn device_lose(&self, _device: &Self::DeviceId, _device_data: &Self::DeviceData) {
fn device_lose(&self, _device: &Self::DeviceId, device_data: &Self::DeviceData) {
device_data.0.lose()
}

Expand Down

0 comments on commit a4a5403

Please sign in to comment.