Skip to content

Commit

Permalink
expose-ids: pass the correct field for global ID (#3669)
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf authored Apr 12, 2023
1 parent ee175f9 commit d781bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wgpu/src/backend/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl<T> From<Identified<T>> for ObjectId {
// API.
core::num::NonZeroU64::new(1).unwrap(),
#[cfg(feature = "expose-ids")]
identified.1,
identified.0,
)
}
}
Expand All @@ -71,7 +71,7 @@ impl<T> From<(Identified<T>, Sendable<T>)> for ObjectId {
// API.
core::num::NonZeroU64::new(1).unwrap(),
#[cfg(feature = "expose-ids")]
id.1,
id.0,
)
}
}
Expand Down

0 comments on commit d781bb7

Please sign in to comment.