get_proc_address now returns a libc::c_void

This commit is contained in:
Tomaka17 2014-08-11 10:32:33 +02:00
parent c3a73bd68e
commit 87d62e5b6f
5 changed files with 6 additions and 6 deletions

View file

@ -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.