I finally decided to track down something that has bothered me for years (witness the comments in glxgears_fbconfig.c). The function pointer typedefs (the PFNGLX*PROC typedefs) for core GLX 1.3 and 1.4 in GL/glxext.h are never available. They exist in the file, but application source code can never access it. I tracked this down to the fact that GLX_VERSION_1_3 and GLX_VERSION_1_4 are defined in GL/glx.h. This causes all of the function prototypes, defines, and typedefs in GL/glxext.h to be skipped. Since we'd like code to be source-portable from other GLX systems, this seems wrong. Just removing the #defines from GL/glx.h replaced this problem with other compile-time problems. I believe the correct solution is to follow the model of GL/gl.h and GL/glext.h. That is, don't put any "new" features in GL/glx.h that are in GL/glxext.h. I can make this change if people think this is the right way to go.
Feel free to fix this up. Another issue is Mesa's glx.h is different from the X/DRI glx.h (the later comes from the SGI GLX project). We should try to unify those too.
This was fixed eons ago by putting the function pointer typedefs in glx.h.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.