aboutsummaryrefslogtreecommitdiffstats
path: root/examples/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/window.rs')
-rw-r--r--examples/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/window.rs b/examples/window.rs
index db80e39..dfe804e 100644
--- a/examples/window.rs
+++ b/examples/window.rs
@@ -7,7 +7,7 @@ fn main() {
unsafe { window.make_current() };
- gl::load_with(|symbol| window.get_proc_address(symbol) as *const libc::c_void);
+ gl::load_with(|symbol| window.get_proc_address(symbol));
let version = {
use std::c_str::CString;