diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-08-11 10:32:33 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-08-11 10:32:33 +0200 |
commit | 87d62e5b6f38ab34586c0c9b5f41f1558e51cd14 (patch) | |
tree | 635a2f5d6757e3f02cc2054aa5e6692328769c22 /src | |
parent | c3a73bd68e8d4c2ed76aeb38a128af95fc59431f (diff) | |
download | glutin-87d62e5b6f38ab34586c0c9b5f41f1558e51cd14.tar.gz glutin-87d62e5b6f38ab34586c0c9b5f41f1558e51cd14.zip |
get_proc_address now returns a libc::c_void
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -265,8 +265,8 @@ impl Window { /// /// Contrary to `wglGetProcAddress`, all available OpenGL functions return an address. #[inline] - pub fn get_proc_address(&self, addr: &str) -> *const () { - self.window.get_proc_address(addr) + pub fn get_proc_address(&self, addr: &str) -> *const libc::c_void { + self.window.get_proc_address(addr) as *const libc::c_void } /// Swaps the buffers in case of double or triple buffering. |