Following up my own message, first let me apologize because I see now
that the typedef solution was already there...
But I do have another (perhaps less foolish) question...
Why do we use a pointer to GLubyte for the procName? This prevents
the following from compiling on my machine
int
test_it()
{
void (*tst)() = glGetProcAddressEXT("foo");
}
I get the error
cc -c foo.c -o foo.o
"foo.c", line 9: warning: argument #1 is incompatible with prototype:
prototype: pointer to const uchar : "foo.c", line 4
argument : pointer to char
Shouldn't it take a "GLbyte *" argument, or even perhaps (gasp)
"char *"?
Jim
------------------- ---------------------- --------------------
| Jim Cobb | 540 Arapeen Dr. #100 | [EMAIL PROTECTED] |
| Parametric | Salt Lake City, UT | (801)-588-4632 |
| Technology Corp. | 84108-1202 | Fax (801)-588-4650 |
------------------- ---------------------- --------------------
The universe is flying apart at the rate of trillions of miles
every year and no one in Washington is doing a thing about it.
- Re: [oglbase-discuss] LibGL dis... bernd kreimeier
- Re: [oglbase-discuss] LibGL dis... Brett Johnson
- Re: [oglbase-discuss] 2nd draft... Michael I. Gold
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_... Bernd Kreimeier
- Re: [oglbase-discuss] 2nd draft: GL_EXT_... Thomas Roell
- Re: [oglbase-discuss] 2nd draft: GL... Keith Whitwell
- Re: [oglbase-discuss] 2nd draft... Thomas Roell
- Re: [oglbase-discuss] 2nd draft... Bernd Kreimeier
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc... Richard Pimentel
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_address ... Jim_Cobb
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_address ... Brian Paul
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_add... Bernd Kreimeier
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_address ... Brian Paul
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_add... Bernd Kreimeier
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_add... Stephen J Baker
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_address ... David Blythe
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_address ... Brian Paul
- Re: [oglbase-discuss] 2nd draft: GL_EXT_get_proc_address ... David Blythe
