Skip to content

Commit

Permalink
Fix merge compile issues (#3198)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored Nov 9, 2022
1 parent bc17280 commit d536613
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wgpu/src/backend/direct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,9 +880,10 @@ impl crate::GlobalId for CommandEncoder {
}

impl crate::GlobalId for Queue {
fn global_id(&self) -> Id {
#[allow(clippy::useless_conversion)] // because not(id32)
fn global_id(&self) -> u64 {
use wgc::id::TypedId;
self.id.unzip()
self.id.into_raw().get().into()
}
}

Expand Down

0 comments on commit d536613

Please sign in to comment.