In your message of 10 April 2000 you write:
> On Mon, Apr 10, 2000 at 07:57:49AM -0600, Thomas Roell wrote:
> > 1. The defines (types/tokens) should be per extensions, and guarded
> > properly, so that they are only defined, if the extension has not
> > been defined yet in gl.h. I know that in theory there should never
> > be conflicts, but it would be just nicer to deal with.
>
> Some extensions share enumerants; currently the generator script
> does one pass over all the enums defined in the spec file and comments
> out redefinitions. Are there still compilers around that complain about
> benign redefinitions?
Yes.
> > 2. Explicite function prototypes should go away.
>
> If we were using this solely for Linux, I would agree. However,
> it's intended to be used on other platforms not supporting the query
> mechanism.
Good point. Ok, let's think it throu. There are three cases:
1. MS-Windows. There is always a wglGetProcAddress.
2. Linux. There is always a glXGetProcAddressARB.
3. Everbody else (UNIX ...). They have either not
glXGetProcAddressARB, in which case all the extensions supported by
the relevant libGL are defined properly in gl.h, or they have
glXGetProcAddressARB, in which case they don't need prototypes.
- Thomas
--
Thomas Roell /\ An imperfect plan executed violently
Xi Graphics / \/\ _ is far superior to a perfect plan.
[EMAIL PROTECTED] / / \ \
/ Oelch! \ \ George Patton