mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 21:31:29 +11:00
parent
ec8cbce624
commit
761d82cd60
|
@ -435,10 +435,7 @@ impl Window {
|
|||
|
||||
unsafe {
|
||||
addr.with_c_str(|s| {
|
||||
let p = ffi::glXGetProcAddress(mem::transmute(s)) as *const ();
|
||||
if !p.is_null() { return p; }
|
||||
println!("{}", p);
|
||||
p
|
||||
ffi::glXGetProcAddress(mem::transmute(s)) as *const ()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue