Update some libraries

This commit is contained in:
Simon Sapin 2015-12-01 02:11:54 +01:00
parent 5b819eda9a
commit e4f1c7358d
4 changed files with 32 additions and 32 deletions

View file

@ -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)
}