aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-08-22 10:56:49 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-08-22 10:57:31 +0200
commit761d82cd607cc0c6c4a9008a6bed3ab1992804b4 (patch)
treeb1e050b781aaae6708e79b94e7f74ddf92248117
parentec8cbce6246f578ad4cf264dd8e5ce4a5a074ac4 (diff)
downloadglutin-761d82cd607cc0c6c4a9008a6bed3ab1992804b4.tar.gz
glutin-761d82cd607cc0c6c4a9008a6bed3ab1992804b4.zip
Remove forgotten debugging println
Closes #26
-rw-r--r--src/x11/mod.rs5
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 ()
})
}
}