diff options
Diffstat (limited to 'src/api/cocoa/headless.rs')
-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) } |