> > The way to fix this is to add the following at the start of your > > gl.h header file (and change all the GLAPIENTRY's in Mesa to be > > APIENTRY again like it used to be): > > I believe Ted Jump changed APIENTRY to GLAPIENTRY. Ted, why was > that done? Well, one reason could be 'constant namespace pollution'. For example, 'Wine' (to be compatible with MS's headers) defines APIENTRY, CALLBACK and WINAPI. So, if you include Mesa's header files in Wine (what I do to support OpenGL and to 'simulate' Direct3D), APIENTRY is modified by 'GL/gl.h' (as it is #defined to nothing on non-Windows platforms). Anyway, it is not such a big deal (I have a 'wine_gl.h' wrapper around gl.h to reset the constants to the Wine-approved versions). Lionel _______________________________________________ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
- Re: [Mesa-dev] Major portability problems in late... charlie wallace
- [Mesa-dev] License question. FAZEKAS Miklos
- Re: [Mesa-dev] Major portability problems in ... Kendall Bennett
- Re: [Mesa-dev] Major portability problems... Brian Paul
- Re: [Mesa-dev] Major portability problems in latest CVS so... Eero Pajarre
- Re: [Mesa-dev] Major portability problems in latest C... Theodore Jump
- Re: [Mesa-dev] Major portability problems in late... Keith Harrison
- Re: [Mesa-dev] Major portability problems in ... Brian Paul
- Re: [Mesa-dev] Major portability problems... Kendall Bennett
- Re: [Mesa-dev] Major portability pro... Brian Paul
- Re: [Mesa-dev] Major portability pro... Lionel Ulmer
- Re: [Mesa-dev] Major portability pro... Kendall Bennett
- Re: [Mesa-dev] Major portability pro... Theodore Jump
- Re: [Mesa-dev] Major portability pro... Kendall Bennett
- Re: [Mesa-dev] Major portability pro... Kendall Bennett
- Re: [Mesa-dev] Major portability problems in ... charlie wallace
- Re: [Mesa-dev] Major portability problems in late... Kendall Bennett
- Re: [Mesa-dev] Major portability problems in latest CVS so... Wolfram Gloger
- Re: [Mesa-dev] Major portability problems in latest C... Kendall Bennett