aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wgl
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-11-04 11:27:50 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-11-09 08:46:52 +0100
commit37262fb2288c38553cc8c8f36e59782273c83e7d (patch)
tree8107afeac457b2ffcc2f839df407f5857a2cf37c /src/api/wgl
parent439d25168e0145bb563c2675ce490c521448f4ba (diff)
downloadglutin-37262fb2288c38553cc8c8f36e59782273c83e7d.tar.gz
glutin-37262fb2288c38553cc8c8f36e59782273c83e7d.zip
Remove public exports of gl_common and libc
Diffstat (limited to 'src/api/wgl')
-rw-r--r--src/api/wgl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wgl/mod.rs b/src/api/wgl/mod.rs
index f064931..0f6a944 100644
--- a/src/api/wgl/mod.rs
+++ b/src/api/wgl/mod.rs
@@ -171,7 +171,7 @@ impl GlContext for Context {
unsafe { gl::wgl::GetCurrentContext() == self.context.0 as *const libc::c_void }
}
- fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
+ fn get_proc_address(&self, addr: &str) -> *const () {
let addr = CString::new(addr.as_bytes()).unwrap();
let addr = addr.as_ptr();