1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-25 10:22:43 +03:00

windows: fixup for newer libloading

This commit is contained in:
Wez Furlong 2024-05-13 15:54:14 -07:00
parent 6b493ecd18
commit a597803c13
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -106,7 +106,7 @@ impl WglWrapper {
}
}
let lib = libloading::Library::new("opengl32.dll").map_err(|e| {
let lib = unsafe { libloading::Library::new("opengl32.dll") }.map_err(|e| {
log::error!("{:?}", e);
e
})?;