diff options
Diffstat (limited to 'src/api/x11')
| -rw-r--r-- | src/api/x11/window.rs | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index cfe38d1..d82c5dd 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -351,8 +351,8 @@ impl Window {              Glx(::api::glx::ContextPrototype<'a>),              Egl(::api::egl::ContextPrototype<'a>),          } -        let builder_clone_opengl_glx = opengl.clone().map_sharing(|_| unimplemented!());      // FIXME:  -        let builder_clone_opengl_egl = opengl.clone().map_sharing(|_| unimplemented!());      // FIXME:  +        let builder_clone_opengl_glx = opengl.clone().map_sharing(|_| unimplemented!());      // FIXME: +        let builder_clone_opengl_egl = opengl.clone().map_sharing(|_| unimplemented!());      // FIXME:          let context = match opengl.version {              GlRequest::Latest | GlRequest::Specific(Api::OpenGl, _) | GlRequest::GlThenGles { .. } => {                  // GLX should be preferred over EGL, otherwise crashes may occur @@ -508,7 +508,7 @@ impl Window {                  (*hint).res_name = c_name as *mut libc::c_char;                  (*hint).res_class = c_name as *mut libc::c_char;                  (display.xlib.XSetClassHint)(display.display, window, hint); -                (display.xlib.XFree)(hint as *mut libc::c_void); +                (display.xlib.XFree)(hint as *mut _);              });          } @@ -862,7 +862,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),  | 
