diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-12-01 02:11:54 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-12-01 02:11:54 +0100 |
commit | e4f1c7358d5461415201b9640b475ff3cc1a0065 (patch) | |
tree | 1a9fc17717a9cdbcc52877b6da4ede15bec65210 /src/api/cocoa | |
parent | 5b819eda9ab682e06bfbabe64ce52bc5444b7608 (diff) | |
download | glutin-e4f1c7358d5461415201b9640b475ff3cc1a0065.tar.gz glutin-e4f1c7358d5461415201b9640b475ff3cc1a0065.zip |
Update some libraries
Diffstat (limited to 'src/api/cocoa')
-rw-r--r-- | src/api/cocoa/headless.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/cocoa/headless.rs b/src/api/cocoa/headless.rs index 1318185..d0d59f3 100644 --- a/src/api/cocoa/headless.rs +++ b/src/api/cocoa/headless.rs @@ -4,7 +4,7 @@ use CreationError::OsError; use GlAttributes; use GlContext; use PixelFormatRequirements; -use libc; +use std::os::raw::c_void; use std::ptr; use core_foundation::base::TCFType; @@ -57,7 +57,7 @@ impl HeadlessContext { }; // Load the function pointers as we need them to create the FBO - gl::load_with(|s| headless.get_proc_address(s) as *const libc::c_void); + gl::load_with(|s| headless.get_proc_address(s) as *const c_void); Ok(headless) } |