diff options
-rw-r--r-- | src/x11/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs index 455f43c..0710544 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 () }) } } |