diff --git a/src/x11/mod.rs b/src/x11/mod.rs index 455f43cc..07105440 100644 --- a/src/x11/mod.rs +++ b/src/x11/mod.rs @@ -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 () }) } }