mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
@@ -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 ()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user