I am trying to use pbuffers in linux. If I just: #define GLX_GLXEXT_PROTOTYPES #include <GL/glxext.h>
I get errors for undefined glx functions.
If I modify glxext.h itself to have #define GLX_GLXEXT_PROTOTYPES
everything is fine.
My question is: What is the correct process to enable the pbuffer functions in glx?
Interestingly enough I was using the headers that come with nvidia’s linux opengl sdk. The included glxext.h still contains the original sgi notice. Anyway, in order to use their header, I still have to modify it to #define GLX_GLXEXT_PROTOYPES
for it to work.
If I #define GLX_GLXEXT_PROTOYPES in my file and then #include nvidia’s glxext.h it doesn’t work.
It seems as though glxext.h includes glx.h which undefines #define GLX_GLXEXT_PROTOYPES.
Anyway, I know this is all too much detail and confusing. I was hoping to have a documented procedure to include the pbuffer extension.
I am sad to hear only nvidia supports pbuffers on linux. I was hoping ATI did too…