mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Remove public exports of gl_common and libc
This commit is contained in:
@@ -106,7 +106,7 @@ impl GlContext for OsMesaContext {
|
||||
unsafe { osmesa_sys::OSMesaGetCurrentContext() == self.context }
|
||||
}
|
||||
|
||||
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
||||
fn get_proc_address(&self, addr: &str) -> *const () {
|
||||
unsafe {
|
||||
let c_str = CString::new(addr.as_bytes().to_vec()).unwrap();
|
||||
mem::transmute(osmesa_sys::OSMesaGetProcAddress(mem::transmute(c_str.as_ptr())))
|
||||
|
||||
Reference in New Issue
Block a user