mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Fix infinite recursion in WindowId
conversion methods
This commit is contained in:
parent
d78a870e66
commit
4b10993970
|
@ -85,13 +85,13 @@ impl WindowId {
|
|||
|
||||
impl From<WindowId> for u64 {
|
||||
fn from(window_id: WindowId) -> Self {
|
||||
window_id.into()
|
||||
window_id.0.into()
|
||||
}
|
||||
}
|
||||
|
||||
impl From<u64> for WindowId {
|
||||
fn from(raw_id: u64) -> Self {
|
||||
raw_id.into()
|
||||
Self(raw_id.into())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue