diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-11-09 10:10:22 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-11-09 10:10:22 +0100 |
commit | bfc46c56703eab9404651ea9dd4a195acbe8c784 (patch) | |
tree | bf8f195f8b38c7f6d78d917fe95ed768bcaaefc5 /src/api/ios | |
parent | 439d25168e0145bb563c2675ce490c521448f4ba (diff) | |
parent | b02265fa1103c526c365d7768e3c8ae3633cf4cf (diff) | |
download | glutin-bfc46c56703eab9404651ea9dd4a195acbe8c784.tar.gz glutin-bfc46c56703eab9404651ea9dd4a195acbe8c784.zip |
Merge pull request #652 from tomaka/rem-gl-common
[Breaking change] Remove public exports of gl_common and libc
Diffstat (limited to 'src/api/ios')
-rw-r--r-- | src/api/ios/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/ios/mod.rs b/src/api/ios/mod.rs index 52eebbf..852d97c 100644 --- a/src/api/ios/mod.rs +++ b/src/api/ios/mod.rs @@ -384,12 +384,12 @@ impl GlContext for Window { false } - fn get_proc_address(&self, addr: &str) -> *const libc::c_void { + fn get_proc_address(&self, addr: &str) -> *const () { let addr_c = CString::new(addr).unwrap(); let path = CString::new("/System/Library/Frameworks/OpenGLES.framework/OpenGLES").unwrap(); unsafe { let lib = dlopen(path.as_ptr(), RTLD_LAZY | RTLD_GLOBAL); - dlsym(lib, addr_c.as_ptr()) + dlsym(lib, addr_c.as_ptr()) as *const _ } } |