aboutsummaryrefslogtreecommitdiffstats
path: root/examples/fullscreen.rs
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-08-11 10:32:33 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-08-11 10:32:33 +0200
commit87d62e5b6f38ab34586c0c9b5f41f1558e51cd14 (patch)
tree635a2f5d6757e3f02cc2054aa5e6692328769c22 /examples/fullscreen.rs
parentc3a73bd68e8d4c2ed76aeb38a128af95fc59431f (diff)
downloadglutin-87d62e5b6f38ab34586c0c9b5f41f1558e51cd14.tar.gz
glutin-87d62e5b6f38ab34586c0c9b5f41f1558e51cd14.zip
get_proc_address now returns a libc::c_void
Diffstat (limited to 'examples/fullscreen.rs')
-rw-r--r--examples/fullscreen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs
index 5cb71f7..d2e748c 100644
--- a/examples/fullscreen.rs
+++ b/examples/fullscreen.rs
@@ -29,7 +29,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;