aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/x11')
-rw-r--r--src/api/x11/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs
index 72b9b33..b964fed 100644
--- a/src/api/x11/window.rs
+++ b/src/api/x11/window.rs
@@ -807,7 +807,7 @@ impl GlContext for Window {
}
#[inline]
- fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
+ fn get_proc_address(&self, addr: &str) -> *const () {
match self.x.context {
Context::Glx(ref ctxt) => ctxt.get_proc_address(addr),
Context::Egl(ref ctxt) => ctxt.get_proc_address(addr),