Skip to content

Commit d536613

Browse files
authored
Fix merge compile issues (#3198)
1 parent bc17280 commit d536613

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

wgpu/src/backend/direct.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,9 +880,10 @@ impl crate::GlobalId for CommandEncoder {
880880
}
881881

882882
impl crate::GlobalId for Queue {
883-
fn global_id(&self) -> Id {
883+
#[allow(clippy::useless_conversion)] // because not(id32)
884+
fn global_id(&self) -> u64 {
884885
use wgc::id::TypedId;
885-
self.id.unzip()
886+
self.id.into_raw().get().into()
886887
}
887888
}
888889

0 commit comments

Comments
 (0)