From 761d82cd607cc0c6c4a9008a6bed3ab1992804b4 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Fri, 22 Aug 2014 10:56:49 +0200 Subject: [PATCH] Remove forgotten debugging println Closes #26 --- src/x11/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 () }) } }