Thomas Roell writes:
> For shake of portability with wglGetProcAddress, I would recommand
> that there is only a glXGetProcAddress() that returns pointers to GL
> and GLX functions. The way a port could be done very trivially for an
> application:
>
> #ifdef linux
> #define wglGetProcAddress glXGetProcAddress
> #endif
I second this. It would easily fit into the pointer twiddling
that Q-style games do for abstracting wgl, GLX, and fxMesa.
It also solves the recursion Brian mentioned. That was the one
question in my first comments that Jon skipped - why not
only a glX function operating on the current context?
b.
- Re: [linux-opengl-base] [oglbase-discuss] Re: dra... Michael I Gold
- Re: [linux-opengl-base] [oglbase-discuss] Re:... Thomas Roell
- Re: [linux-opengl-base] [oglbase-discuss] Re: dra... Stephen J Baker
- Re: [linux-opengl-base] [oglbase-discuss] Re:... Brad Grantham
- Re: [linux-opengl-base] [oglbase-discuss]... Jon Leech
- Re: [linux-opengl-base] [oglbase-discuss]... Stephen J Baker
- Re: [linux-opengl-base] [oglbase-discuss] Re:... Thomas Roell
- Re: [oglbase-discuss] Re: draft spec for GL_EXT_get_p... Brett Johnson
- Re: [linux-opengl-base] [oglbase-discuss] draft spec for G... Stephen J Baker
- Re: [linux-opengl-base] [oglbase-discuss] draft spec ... Thomas Roell
- Re: [oglbase-discuss] draft spec for GL_EXT_get_p... Bernd Kreimeier
- Re: [oglbase-discuss] draft spec for GL_EXT_get_proc_addre... Bruce D'Amora
