fix glXQueryExtension for glfw