aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 46f2f93..aae14e7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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.