let glXGetFBConfigAttrib ~dpy ~config ~attrib =
  let req, func = attrib in
  let v = glXGetFBConfigAttrib ~dpy ~config ~attrib:req in
  (func v)