From 87d62e5b6f38ab34586c0c9b5f41f1558e51cd14 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Mon, 11 Aug 2014 10:32:33 +0200 Subject: get_proc_address now returns a libc::c_void --- examples/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/window.rs') 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; -- cgit v1.2.3