get_proc_address now returns a libc::c_void
This commit is contained in:
parent
c3a73bd68e
commit
87d62e5b6f
5 changed files with 6 additions and 6 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue